当前位置:网站首页>Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes

Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes

2022-07-06 03:45:00 Two blanks

This is caused by the wrong password

terms of settlement : modify mysql Add a command to the configuration file  skip-grant-tables, Skip password entry , Or enter the password directly .

1. Modify the configuration file

Linux Next mysql The configuration file is /etc/my.cnf

stay [mysql] Just add the command :

 2. restart mysql service

service mysql restart

原网站

版权声明
本文为[Two blanks]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060340328577.html