An error occurred while trying to connect MySQL with phpMyAdmin after Wamp is installed. The error is as follows:
PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. Check the host, user name, and password in config. Inc. php and confirm that the information is consistent with the information given by the administrator of the MySQL server.
MySQL reports the following error:
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)
After searching for a long time, I finally found a solution of my own, which is not necessarily common. However, I did solve my problem.
Use DOS to locate MySql in the bin folder and type
Start mysql-l localhost-u root-P
Okey. The above is for reference only.