Skip navigation links

MySQL Forums :: PHP :: 'reading initial communication packet', system error: 111


Advanced Search

Re: 'reading initial communication packet', system error: 111
Posted by: Jim Smith ()
Date: June 04, 2007 08:56PM

I'm running Ubuntu Feisty Fawn.
I was able to resolve this by using the term "localhost" rather than the loopback IP or server name in the mysql_connect() function. Took me a bit to stumble on it, I suspect if you are accessing mysql from php and both reside on the same server you must use localhost as the server name. I noted during testing that localhost made use of the mysql.sock interface rather than the TCP/IP socket. Anyway, using localhost solved it for me.

Options: ReplyQuote


Subject Written By Posted
'reading initial communication packet', system error: 111 Donald Wessels 05/01/2007 03:24AM
Re: 'reading initial communication packet', system error: 111 sid j 05/03/2007 11:37PM
Re: 'reading initial communication packet', system error: 111 Jim Smith 06/04/2007 08:56PM
Re: 'reading initial communication packet', system error: 111 roberto pizzignach 06/28/2007 02:30AM
Re: 'reading initial communication packet', system error: 111 Casey Millar 07/10/2007 08:34PM
Re: 'reading initial communication packet', system error: 111 Meera RP 10/24/2007 11:28PM
Re: 'reading initial communication packet', system error: 111 Graham Moucka 06/12/2008 03:45PM
Re: 'reading initial communication packet', system error: 111 Maria Rene Moya 05/21/2008 03:31PM
Re: 'reading initial communication packet', system error: 111 Martijn Grendelman 12/27/2007 03:23AM
Re: 'reading initial communication packet', system error: 111 Andrey Hristov 12/27/2007 10:26AM
Re: 'reading initial communication packet', system error: 111 alex j 08/26/2008 10:47AM
Re: 'reading initial communication packet', system error: 111 11/24/2008 01:38PM
Re: 'reading initial communication packet', system error: 111 Dawid Świeżak 12/04/2008 10:20AM
Re: 'reading initial communication packet', system error: 111 tony fraser 12/17/2008 03:51PM
Re: 'reading initial communication packet', system error: 111 Robert Moore 01/06/2009 11:08AM
Re: 'reading initial communication packet', system error: 111 Thomas Thomas 02/19/2009 08:18AM
Re: 'reading initial communication packet', system error: 111 Stephen Hilton 01/14/2009 05:24PM
Re: 'reading initial communication packet', system error: 111 Rahul Nori 04/21/2009 10:34AM
Re: 'reading initial communication packet', system error: 111 Larry Woods 05/19/2009 08:46AM


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.