Get the App
SLTechnology News&Howtos  ›  Database  › 

How to manage MYSQL password

Shulou Source: shulou.com Published: 2022-05-31 16:10:55 11月14日 Update

How to carry out MYSQL password management, I believe that many inexperienced people do not know what to do. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) (login directly using mysql)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) (login using-Umurp, but the password is wrong)

Forget your password:

/ etc/init.d/mysql stop

Mysqld_safe-user=mysql-skip-grant-tables-skip-networking &

Set password=password ('123456')

. / etc/init.d/mysql restart

Mysql-u root-p123456

After reading the above, have you mastered how to manage MYSQL passwords? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Password management content method more problem login helpless for this reason skills article experience industry information information channel error channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information vpn OPPO Reno Shulou Technology MySQL