Home > Database > phpMyAdmin > body text

What should I do if the password for my phpmyadmin account is incorrect?

藏色散人
Release: 2020-04-06 10:07:47
Original
2645 people have browsed it

What should I do if the password for my phpmyadmin account is incorrect?

What should I do if the password for my phpmyadmin account is incorrect?

LoginphpMyAdminIncorrect password occurs

What should I do if the password for my phpmyadmin account is incorrect?

##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> quit
Copy after login

2. Restart mysql and try to log in

#sudo  /etc/init.d/mysql restart 
#sudo  mysql -uroot -p 
Enter password:  
#输入密码,出现下面这个就表示登录正常了 
mysql>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!