I have a problem that happens from time to time.
MODX Revo 2.2.5pl
MySQL 5.1.63-0ubuntu0.10.04.1
The page is white only (nothing loaded) and in the error log it says following:
[2012-10-26 08:13:19] (ERROR in xPDOConnection::connect @ /home/vds/public_html/clients/client1/web2/web/core/xpdo/xpdo.class.php : 2999) SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'waiting for initial communication packet', system error: 95
[2012-10-26 08:13:29] (ERROR @ /index.php) Error preparing statement for query: SELECT `modSession`.`id` AS `modSession_id`, `modSession`.`access` AS `modSession_access`, `modSession`.`data` AS `modSession_data` FROM `modx_session` AS `modSession` WHERE `modSession`.`id` = ? - Array
(
[0] => 00000
[1] =>
[2] =>
)
[2012-10-26 08:17:53] (ERROR in xPDOConnection::connect @ /home/vds/public_html/clients/client1/web2/web/core/xpdo/xpdo.class.php : 2999) SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'sending authentication information', system error: 32
What does it mean?
Why does it happen?
How do I fix it?
[ed. note: thorjarle last edited this post 13 years, 11 months ago.]
...I believed it was Friday...
-
☆ A M B ☆
- 24,524 Posts
Could be an overloaded server, taking too long to respond to a database query. Are you on shared hosting?
The site is on a virtual server with one modx revo installation on it. But since it is just a virtual server I havent got a clue how many other sites sharing the same hardware.
...I believed it was Friday...
-
☆ A M B ☆
- 24,524 Posts
Hm. A virtual server shouldn't have any problem handling one Revo installation. Hopefully someone more knowledgeable about server configurations will have some ideas.