Not working with MySQL 5.6.10?

Bug #1124753 reported by Gabriel Torres
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Tuning Primer Script
New
Undecided
Unassigned

Bug Description

Script was working fine with MySQL 5.5.30. Upgraded to MySQL 5.6.10 today and it is not working anymore. See results below. I can login to MySQL normally with the login and password provided.

srv10:/usr/local/bin# ./tuning-primer.sh

Using login values from ~/.my.cnf
- INITIAL LOGIN ATTEMPT FAILED -
Testing for stored webmin passwords:
 None Found
Could not auto detect login info!
Found potential sockets: /tmp/mysql.sock
Using: /tmp/mysql.sock
Would you like to provide a different socket?: [y/N]
Do you have your login handy ? [y/N] : y
User: **********
Password: **********

Would you like me to create a ~/.my.cnf file for you? [y/N] :
- FINAL LOGIN ATTEMPT FAILED -
Unable to log into socket: /tmp/mysql.sock

Revision history for this message
Martin Hejtmanek (martion-h) wrote :

Hi.

I had same problem.

here is fix:

change line 467

from:
elif [ "$major_version" = '5.0' ] || [ "$major_version" = '5.1' ] ; then

to:
elif [ "$major_version" = '5.0' ] || [ "$major_version" = '5.1' ] || [ "$major_version" = '5.5' ] || [ "$major_version" = '5.6' ] ; then

Martin

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.