更改/etc/my.cnf
/etc/init.d/mysqld restart
/etc/init.d/mysqld status
SUCCESS! MySQL running (7562)
mysql -uegilance
ERROR 1045 (28000): Access denied for user 'egilance'@'localhost' (using password: NO)
即可
更改/etc/my.cnf
/etc/init.d/mysqld restart
/etc/init.d/mysqld status
SUCCESS! MySQL running (7562)
mysql -uegilance
ERROR 1045 (28000): Access denied for user 'egilance'@'localhost' (using password: NO)
即可