Home>Article>Database> Solve the problem of WAMP error when opening phpMyAdmin

Solve the problem of WAMP error when opening phpMyAdmin

藏色散人
藏色散人 forward
2021-08-25 17:02:20 3048browse

The following tutorial column will introduce to you how to solve the problem of opening phpMyAdmin in WAMP An error occurred, I hope it helps those who need it!Click phpMyAdmin in the WAMP window to open the database editing interface


Solve the problem of WAMP error when opening phpMyAdminProblems encountered:

phpMyAdmin tries to connect to the MySQL server , but the server refused the connection. You should check the host, username, and password in the configuration file and confirm that the information matches the information given by the MySQL server administrator.


Solve the problem of WAMP error when opening phpMyAdminReason:

After I changed the database password, I did not change the configuration file here

Solution:

Open the phpMyAdmin configuration file config.inc.php. The configuration file is in the installation directory. The following is my file path
F:\wamp\apps\phpmyadmin4.1.14\config.inc. php

Open the configuration file, find the following content, and replace the modified password in it.

$cfg['Servers'][$i]['password'] = 'MySQL密码';
Remember to save after modification and restart the server

The error may also be because you have also changed other places, such as ports, etc. If you find the modification, there will be no problem.



Solve the problem of WAMP error when opening phpMyAdmin

The above is the detailed content of Solve the problem of WAMP error when opening phpMyAdmin. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete