MySQL Error #1133 - Can't find any matching row in the user table

后端 未结 9 970
时光说笑
时光说笑 2020-12-08 04:06

Unable to set password for a user using 3.5.2.2 - phpMyAdmin for 5.5.27 - MySQL. When trying to set the password while logged onto ph

9条回答
  •  無奈伤痛
    2020-12-08 04:35

    I encountered this issue, but in my case the password for the 'phpmyadmin' user did not match the contents of /etc/phpmyadmin/config-db.php

    Once I updated the password for the 'phpmyadmin' user the error went away.

    These are the steps I took:

    1. Log in to mysql as root: mysql -uroot -pYOUR_ROOT_PASS
    2. Change to the 'mysql' db: use mysql;
    3. Update the password for the 'phpmyadmin' user: UPDATE mysql.user SET Password=PASSWORD('YOUR_PASS_HERE') WHERE User='phpmyadmin' AND Host='localhost';
    4. Flush privileges: FLUSH PRIVILEGES;

    DONE!! It worked for me.

提交回复
热议问题