Zinzara
03-12-2009, 05:15 PM
I've been having crashing all day. Visited my Cpanel only to discover my mysql database was not even listed there... have no idea what happened. I had my VPS rebooted which brought the forum back up online.
Since then I continue to get this message
"mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't
connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/xxxx/public_html/forum/includes/class_core.php on line 311"
How do I fix this? I'm a newb.
--------------- Added 1236881858 at 1236881858 ---------------
... and this one:
Invalid SQL:
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid,
threadcount, replycount, lastpostid, lastprefixid
FROM forum AS forum;
MySQL Error : MySQL server has gone away
Error Number : 2006
Since then I continue to get this message
"mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't
connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/xxxx/public_html/forum/includes/class_core.php on line 311"
How do I fix this? I'm a newb.
--------------- Added 1236881858 at 1236881858 ---------------
... and this one:
Invalid SQL:
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid,
threadcount, replycount, lastpostid, lastprefixid
FROM forum AS forum;
MySQL Error : MySQL server has gone away
Error Number : 2006