Script ends at Join section
Bug #1202940 reported by
Robert Sanchez
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Tuning Primer Script |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The script ends with the following error:
/mysql_
right after outputting the header for the JOIN section.
Relevant system information:
# mysql -V
mysql Ver 15.1 Distrib 5.5.31-MariaDB, for debian-linux-gnu (i686) using readline 5.1
Ubuntu 12.04.2 LTS
Changed in mysql-tuning-primer: | |
status: | New → Confirmed |
To post a comment you must log in.
at line 401 tuning-primer attempt to get join_buffer_size doing:
mysql -Bse "show variables like 'join_buffer%'"
but unlike myslq, MariaDB have two variables that match:
join_buffer_size space_limit
join_buffer_
so, to fix, simply change line 943 from:
mysql_variable \'join_buffer%\' join_buffer_size
to
mysql_variable \'join_ buffer_ size%\' join_buffer_size