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

Solve the problem of WAMP error when opening phpMyAdmin

藏色散人
Release: 2021-08-25 17:02:20
forward
3178 people have browsed it

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密码';
Copy after login
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!

Related labels:
source:csdn.net
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