The WAMP integrated development package not only comes with a MySQL database, but also integrates a web version of the MySQL database management tool, phpMyAdmin, which can be used to visually manage the database.
After installing WAMPSever, I wanted to open phpMyAdmin and found that the opening interface is as follows:
This is because we just MySQL has a password, but the default password for communication between phpMyAdmin and MySQL is empty. So how to change it?
Open the wampserver installation directory, then open \wamp\apps\phpmyadmin4.1.14 in sequence, use Notepad or DW software to open config.inc.php inside, and find cfg[′Servers′][cfg[′Servers ′][i]['password'] = "";, enter the password you just modified in the last two single quotes, and then save it. After the operation is completed, refresh the phpMyAdmin page and it will display normally.
For more PHP related knowledge, please visit php中文网!
The above is the detailed content of How to solve the problem that phpmyadmin cannot be opened?. For more information, please follow other related articles on the PHP Chinese website!