Create a root password for PHPMyAdmin

后端 未结 12 549
长情又很酷
长情又很酷 2020-12-12 10:19

PHPMyAdmin is giving me a message saying that the user (root) does not have a password.

So, how can I create one?

12条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-12 11:12

    If you tried mysqladmin -u root password 'your_password' and MySQL says denied access, you need to change the my.ini so that the value password is blank. then try mysqladmin -u root password 'your_password' again. It should change your password and open my.ini again and change the value password to the previous one.

提交回复
热议问题