>> when i try connecting the mysql server on server-2 ( 192.168.8.200)  from
>> my
>> server-1 (192.168.1.227)
>> i get the following error
>>
>> *Warning: mysql_connect(): Can't connect to MySQL server on '192.168.8.200
>> '
>> (4) in /srv/www/htdocs/../../dbtest.php on line 5 Not able to connect
>> Error Can't connect to MySQL server on '192.168.8.200' (4)Cannot select
>> DB!*

I ran across the same problem some time back.

Check what is in "bind-address" on your my.cnf file.  If it is localhost or 
127.0.0.1,
change it to 192.168.8.200. Now restart the mysql server and try it again.

--Arun Velusamy.



 

_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to