FLUSH PRIVILEGES;" and set the password; then restart mysql and log in through the command "#sudo mysql -uroot -p Enter..."."/> FLUSH PRIVILEGES;" and set the password; then restart mysql and log in through the command "#sudo mysql -uroot -p Enter...".">
What should I do if the password for my phpmyadmin account is incorrect?
LoginphpMyAdminIncorrect password occurs
##1. Close mysql first and set the password#sudo /etc/init.d/mysql stop #sudo mysqld_safe --user=mysql --skip-grant-tables --skip-networking & #sudo mysql -u root mysql mysql> UPDATE user SET Password=PASSWORD('pas') where USER='root'; mysql> FLUSH PRIVILEGES; mysql> quit2. Restart mysql and try to log in
#sudo /etc/init.d/mysql restart #sudo mysql -uroot -p Enter password: #输入密码,出现下面这个就表示登录正常了 mysql>
The above is the detailed content of What should I do if the password for my phpmyadmin account is incorrect?. For more information, please follow other related articles on the PHP Chinese website!