Hi all!
I've run into a rather annoying problem with MySQL that I'd hope you'd all be able to fix here.
I have installed WAMP on my system just fine, but I am unable to progress any further with anything because of a MySQL password barrier that pops up everywhere.
When I try to start MySQL, this error message pops up in the logs:
110719 10:41:26 [Note] Plugin 'FEDERATED' is disabled.
110719 10:41:26 InnoDB: Started; log sequence number 0 44233
110719 10:41:27 [ERROR] Do you already have another mysqld server running on port: 3306 ?
110719 10:41:27 [ERROR] Aborting
110719 10:41:27 InnoDB: Starting shutdown...
110719 10:41:32 InnoDB: Shutdown completed; log sequence number 0 44233
110719 10:41:32 [Note] wampmysqld: Shutdown complete
Localhost/testmysql ends up with
( ! ) Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\testmysql.php on line 2
Call Stack
# Time Memory Function Location
1 0.0015 673160 {main}( ) ..\testmysql.php:0
2 0.0015 673448 mysql_connect ( ) ..\testmysql.php:2
( ! ) Warning: mysql_connect() [function.mysql-connect]: [2002] php_network_getaddresses: getaddrinfo failed: No such host is kn (trying to connect via tcp://hostname:3306) in C:\wamp\www\testmysql.php on line 2
Call Stack
# Time Memory Function Location
1 0.0015 673160 {main}( ) ..\testmysql.php:0
2 0.0015 673448 mysql_connect ( ) ..\testmysql.php:2
( ! ) Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\testmysql.php on line 2
Call Stack
# Time Memory Function Location
1 0.0015 673160 {main}( ) ..\testmysql.php:0
2 0.0015 673448 mysql_connect ( ) ..\testmysql.php:2
Could not connect to MySQL: php_network_getaddresses: getaddrinfo failed: No such host is known.
phpmyadmin ends up with:
Error
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
And when I try to install Joomla, I get:
Unable to connect to the database:Could not connect to MySQL
I tried resetting the password using [
dev.mysql.com] as well as a complete reinstall of WAMP, but nothing seems to work.
So there you have it... there's a wrench in the spanner and I have no idea how on God's green Earth to fix it. I was hoping someone else here would be able to tell me where I'm going wrong.
Running WAMP 2.1 on Windows 7 64-bit with Service Pack 1 installed, with Apache 2.2.17, MySQL 5.1.53, php 5.3.4, and Joomla 1.5.23
Edited 1 time(s). Last edit at 07/19/2011 07:34PM by BAJV.