Not working with MySQL 5.6.10?
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:/
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
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