In the environment where MySQL has just installed two instances, the two instance starts and then shuts down the Times error;
[[email protected] ~]#/data/3307/mysql stop
Stoping MySQL ...
Enter Password:
/application/mysql/bin/mysqladmin:connect to server at ' localhost ' failed
Error: ' Access denied for user ' root ' @ ' localhost ' (using Password:yes) '
[[email protected] ~]#/data/3306/mysql stop
Stoping MySQL ...
Enter Password:
/application/mysql/bin/mysqladmin:connect to server at ' localhost ' failed
Error: ' Access denied for user ' root ' @ ' localhost ' (using Password:yes) '
Workaround:
Set a password for root
[Email protected] ~]# mysqladmin-u root-s/data/3306/mysql.sock password ' beatigirl '
[Email protected] ~]# mysqladmin-u root-s/data/3307/mysql.sock password ' beatigirl '
[[email protected] ~]#/data/3306/mysql stop
Stoping MySQL ...
[[email protected] ~]#/data/3307/mysql stop
Stoping MySQL ...
[[Email protected]~]# netstat-lntup|grep 330
Turn off multi-instance MySQL times wrong