phpMyAdmin链接MySql错误 个人解决方案_PHP

WBOY
Release: 2016-06-01 12:22:31
Original
880 people have browsed it

phpmyadmin

装好wamp后在试图用phpMyAdmin链接MySql时出错,报错如下:

phpMyAdmin 试图连接到 MySQL 服务器,但服务器拒绝连接。您应该检查 config.inc.php 中的主机、用户名和密码,并且确定这些信息与 MySQL 服务器的管理员所给出的信息一致。

而MySql报错如下:

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:\wamp\mysql\bin\mysqld-nt.exe: Shutdown complete

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



找了好久终于找到了一个自己的解决方案,不一定通用。但是,确实是把我的问题给解决了

使用DOS定位到MySql所在文件夹下的bin文件夹下键入

start mysql -l localhost -u root -p

就okey了,以上仅供参考
Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!