MySQL Forums
Forum List  »  PHP

Re: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
Posted by: Jay Shepherd
Date: May 22, 2007 09:37PM

I got given someone elses HorriblY written site which came with this error.
There was a single file containing the mysql connection and database selection.
After that there was some badly written code to load some files and do a few queries.

So i took everything out of the file other than the connection and database selection and it worked fine,

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.