MySQL Forums
Forum List  »  PHP

Re: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server
Posted by: Peter Brawley
Date: March 28, 2014 12:02PM

> trying to access database from other server

Is MySQL on the target server configured to accept connections from the other server?

Often a problem with bind address=127.0.0.1 in my.cnf/ini, or with the firewall, or with mysqld listed in etc/hosts.allow

Options: ReplyQuote


Subject
Written By
Posted
Re: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server
March 28, 2014 12:02PM


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.