MySQL Forums
Forum List  »  PHP

Lost connection intermittent
Posted by: lol lool
Date: May 28, 2014 02:19PM

Hi,

Sorry for my english, i'm french and i prefere write in english section (more developpers).


My structure : 2 servers who's connecting each to each


Sometimes, one of the server is refusing the connection, don't know why, the load of the server and the usage by the users is really low.

This is the message i got :

2014-05-27 02:21:45 : mysqli_connect(): (HY000/2013): Lost connection to MySQL server at 'reading initial communication packet', system error: 104 in /home/web/classes/db.php @ 24

2014-05-27 23:53:37 : mysqli_connect(): (HY000/2003): Can't connect to MySQL server on '5.79.68.145' (110) in /home/web/classes/db.php @ 24


Other error (only 1 time in 2 months of service) :

[Tue May 27 17:52:34 2014] [error] [client 80.236.203.92] PHP Warning: mysqli_connect(): (28000/1045): Access denied for user 'sql'@'localhost' (using password: NO) in /home/web/classes/db.php on line 24

I don't understand why the NO password specified, in my php, there is always a defined password to connect to the DB.



Note : i'm not using the 3306 default port.
Note : i never had problem on my old servers.

Anyone can help me to debug ?

Thank you in advance !

Options: ReplyQuote


Subject
Written By
Posted
Lost connection intermittent
May 28, 2014 02:19PM


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.