Ron McCain
asked on
error #2003 server not responding
Installed zend core bundle that included mysql with phpmyadmin. All went well and functions on one server, installed on a second server but phpmyadmin returns error #2003 server not responding. The mysql service shows started and so does zend core. Tried all of the usual but it appears to be something blocking the server access on the computer that doesnt allow phpmyadmin access since one of the servers works fine.
Anyone, please give us an assist on this as we are in a crunch to get multiple development servers running for php/mysql projects.
Anyone, please give us an assist on this as we are in a crunch to get multiple development servers running for php/mysql projects.
ASKER
checked the host address (ip of machine), check the pwd, set bind-address= to localhost ip, checked my.ini, php.ini, httpd.conf, also checked netstat to see if 3306 was listening and ping checked localhost ip. I can go to localhost with browser and the see the default index in the htdocs directory but I cannot use the phpmyadmin tool to work with any database. As stated in last post we have another server we set up the same way and it worked fine (both are xp pro dell servers and both have the same zend core bundle installed)
Can you connect with php?
<?php
$hostname = "localhost";
$username = "user";
$password = "password";
$db_conn = mysql_connect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR);
if($db_conn) echo 'Connected to MySQL';
?>
ASKER
yes we can connect to mysql with php connection function. just phpmyadmin that doesnt work.
just seems Some little something somewhere thats not allowing phpmyadmin to see the mysql server running?? We are about to pull hair out.
just seems Some little something somewhere thats not allowing phpmyadmin to see the mysql server running?? We are about to pull hair out.
ASKER
thanks to all but I found the problem. It is one for the books. The new server that would not access phpmyadmin using localhost had a net computer name with a number as the last character i.e sysacd3, for some reason phpmyadmin did not like the root@computername with the number in the name. I changed the computername to something like sysacd-3 and then phpmyadmin worked when accessed with localhost.
Concerning experts exchange, I do like this method of getting answers and even though it didnt work out this time I am sure I will use it again in the future. Thanks to v2media for your prompt response to my initial question.
Concerning experts exchange, I do like this method of getting answers and even though it didnt work out this time I am sure I will use it again in the future. Thanks to v2media for your prompt response to my initial question.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Even though we solved our problem before an expert solution was received, our acceptance of the effort is to provide a thank you in a tangible way for the help provided during our 1st use of the exchange.
What is 'the usual' so we don't waste time posting something you've already tried?