Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.0k views
in Q2A Core by

I'v been getting quite a good dose of these errors ever since my QA site was setup about two months ago.

Sometimes I get five, twenty or none of these errors while casually browsing through the site:

Here goes the full message:

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 104 in /home/qa/public_html/qa-include/qa-db.php on line 66

Could not establish database connection. Please check the username, password and hostname in the config file, and if necessary set up the appropriate MySQL user and privileges.

Am hosting with Arvixe and the messages appears on both Q2A v1.5.3 and v1.5.4

Q2A version: 1.5.4

1 Answer

0 votes
by

 You might try fix by updating to hostname in account manager specifically given by Arvixe . not just the domain name

...