centos mysql database question: ERROR 1044 (42000): Access denied for user '' @ 'localhost' to database 'mysql' (turn)

Problem Description:

After installing the database MySQL, enter mysql, password setting number, the time to exit, with a password can not be entered directly after the carriage return to enter, can not see the database mysql, use mysql returns an error: ERROR 1044 (42000): Access denied for user '' @ 'localhost' to database 'mysql'

Reference Address:

  ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'

Guess you like

Origin www.cnblogs.com/ybf-yyj/p/11413923.html