Running tuning-primer.sh on MariaDB

Today I decided to tweak my mysql config file for better performance, so I downloaded tuning-primer.sh and tried to start the test until I noticed there is something wrong with JOIN section.
Tuning primer was primarily created for MySQL and not for MariaDB. But there is a quite simple fix for this. Open tununig-primer.sh in your favorite editor and seach for :

mysql_variable \'join_buffer%\' join_buffer_size

replace that line with:

mysql_variable \'join_buffer_size%\' join_buffer_size

Save the file and run the test again. Now it should run OK.

Leave a Reply

Your email address will not be published. Required fields are marked *

WP-SpamFree by Pole Position Marketing

Share This