phpMyAdmin link MySql error personal solution_PHP tutorial

WBOY
Release: 2016-07-21 15:42:01
Original
886 people have browsed it

After installing wamp, an error occurred when trying to use phpMyAdmin to connect to MySql. The error was as follows:

phpMyAdmin tried to connect to the MySQL server, but the server refused the connection. You should check the host, username, and password in config.inc.php and make sure they match those given by the administrator of the MySQL server.

The MySql error is as follows:

091224 1:43:18 InnoDB: Starting shutdown...
091224 1:43:19 InnoDB: Shutdown completed; log sequence number 0 43655
091224 1:43:19 [Note] c:wampmysqlbinmysqld-nt.exe: Shutdown complete

091224 1:47:04 InnoDB: Started; log sequence number 0 43655
091224 1:47: 04 [Note] c:wampmysqlbinmysqld-nt.exe: ready for connections.
Version: '5.0.45-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)



After searching for a long time, I finally found a solution of my own, which may not be universal. However, my problem was indeed solved

Use DOS to locate the bin folder under the folder where MySql is located and type

start mysql -l localhost -u root -p

That’s it, the above is for reference only

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/321072.htmlTechArticleAfter installing wamp, an error occurred when trying to use phpMyAdmin to connect to MySql. The error was reported as follows: phpMyAdmin tried to connect to the MySQL server, but The server refused the connection. You should check...
in config.inc.php
source:php.cn
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