Forgot my mysql root password, how to retrieve

xiaoxiao2021-03-06  70

Add Skip-Grant-Tables and restart your mysqld, then there is no password so long. Then enter mysql, update mysql.user set password = password ('password') where user = 'root' After success, Flush Privileges; finally removes Skip-grant-tables in My.cnf to restart mysqld

转载请注明原文地址:https://www.9cbs.com/read-121293.html

New Post(0)