XAMPP cannot log on to phpmyadmin by modifying the mysql root password

Source: Internet
Author: User
Tags php file browser cache phpmyadmin

Xampp/phpMyAdmin/config. inc. the password set in php (empty) conflicts, so that users cannot log on (you can log on to phpmyadmin before the computer restarts, but once the machine restarts, you cannot log on ).

The solution is also simple:

1. Modify the phpmyadmin configuration file in xampp.

Go to the installation directory of xampp, modify the xampp/phpMyAdmin/config. inc. Php file, find and set the password to start modification,

For example, $ cfg ['servers'] [$ I] ['password'] = '000000 ';

2. Clear the browser cache and log on to http: // 127.0.0.1/phpmyadmin/again.

In addition, after clicking "permission", we can see the users of the entire database as follows. You can click "operation" to change the user password again and modify config. inc. php accordingly.

Summary

W

In fact, this is for xampp/phpMyAdmin/config. inc. in php, $ cfg ['servers'] [$ I] ['password'] = '000000, if you change the user name, you can use $ cfg ['servers'] [$ I] ['user'] = 'Your username.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.