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 our MySQL just had a password, but the default phpMyAdmin The password for communicating with 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.
PHP Chinese website has a large number of freephpmyadmin introductory tutorials, everyone is welcome to learn!
The above is the detailed content of Solution to the problem that local phpmyadmin cannot be opened. For more information, please follow other related articles on the PHP Chinese website!