PDA

View Full Version : Problem with my web site



yruekai
26-02-12, 07:27 AM
Hi guys , sorry for my write i'am french , so i have one problem with my web site , when go in my website ( is it online on hebergement ) i have this one :

Connection Error: Lost connection to MySQL server at 'reading initial communication packet', system error: 111

Help please , thanks you !

Mallbora
26-02-12, 03:11 PM
it is mysql error

Use AppServ for website.

proofrox
12-05-12, 04:08 PM
Someone here: MySQL :: Re: Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 (http://forums.mysql.com/read.php?52,166244,258515#msg-258515) suggests that it might be a firewall problem:

I have just had this problem and found it was my firewall. I use PCTools Firewall Plus and it wasn't allowing full access to MySQL. Once I changed that it was fine. Hope that helps.
Could that be it?
Also, somehere here: MySQL :: Re: 'reading initial communication packet', system error: 111 (http://forums.mysql.com/read.php?52,151255,213970#msg-213970) suggests that it might be because the MySQL server is bound to the loop-back IP (127.0.0.1 / localhost) which effectively cuts you off from connecting from "outside".
If this is the case, you need to upload the script to the webserver (which is probably also running the MySQL server) and keep your server host as 'localhost'