Re: phpMyAdmin: #2003 - How to Fix via Config Files
Posted by: Daniel Smith
Date: October 05, 2008 07:24PM

I've seen that error before. It happened when my MySQL server bound an IP address that was different from the one I specified in phpMyAdmin's config.inc.php.

So,

1. open up your mysql's my.ini file and find the address specified by "bind-address"

2. open phpMyAdmin's config.inc.php and change "$cfg['Servers'][$i]['host']" to match the ip address you found in my.ini


If the #2003 error goes away, but is replaced with a wrong username/password then it may be that your mysql login is limited to connecting from, say, localhost. If this is the case then you will need to first tell your mysql server to bind localhost, restart mysqld, then login to mysql on the command line and change that - "UPDATE `mysql`.`user` SET `host`='%'".

Good Luck,
-Dan

Options: ReplyQuote


Subject
Written By
Posted
Re: phpMyAdmin: #2003 - How to Fix via Config Files
October 05, 2008 07:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.