reset root password with wrong mysql config

后端 未结 3 2062
轻奢々
轻奢々 2020-12-01 03:37

I have installed xampp, I did the security settings, but after a time I have forgot the root password. I have google it, how to reset, the problem seems he can\'t create low

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-01 03:55

    I face the same problem & simply update the password with below SQL query With HeidiSQL (Free mySQL editor).

    UPDATE mysql.user SET Password=PASSWORD('your_password') WHERE User='root'
    

    Then, stop mysql from xampp control panel & start it again.

提交回复
热议问题