MySQL Forums
Forum List  »  PHP

Re: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
Posted by: Cody Holbrook
Date: February 06, 2009 04:07PM

Alright, so I'm answering my own thread, but I'm happy to have figured this one out. Somewhere I had seen advice (not on this forum I believe) on opening up access in /etc/hosts.allow. This was actually causing me problems. I don't know if I'm able to connect remotely yet, though I have a good idea that I've avoided a potential issue by first solving this.

So to summarize my changes, I ensured that I have a bind-address that I will be using (hostname or host IP) and I should never have put mysqld in my /etc/hosts.allow file.

Isn't self-sabotage great?

Cody

Options: ReplyQuote




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.