Hi,
When i opened my site i saw these errors and i don't know what to understand from this. Could someone let me know what is the issue here. The site is used to work fine lately and this is the first time i'm seeing these errors. When i refresh the page the errors are gone. I think it should be something from Hosting server because i see the home directory of the site. Please let me know.
user warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) query: SELECT DISTINCT(n.nid), n.title, n.created FROM node n INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = -1 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'cac_lite') OR (na.gid = 0 AND na.realm = 'tac_lite') OR (na.gid = 1 AND na.realm = 'term_access'))) AND ( n.type = 'blog' AND n.status = 1 ) ORDER BY n.created DESC LIMIT 0, 10 in /home/paradesi/public_html/includes/database.mysql.inc on line 167.
user warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) query: SELECT DISTINCT(n.nid), n.title, l.comment_count FROM node n INNER JOIN node_comment_statistics l ON n.nid = l.nid INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = -1 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'cac_lite') OR (na.gid = 0 AND na.realm = 'tac_lite') OR (na.gid = 1 AND na.realm = 'term_access'))) AND ( n.type = 'forum' AND n.status = 1 ) ORDER BY n.nid DESC LIMIT 0, 5 in /home/paradesi/public_html/includes/database.mysql.inc on line 167.
user warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) query: SELECT DISTINCT(n.nid), e.event_start FROM node n INNER JOIN event e ON n.nid = e.nid INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = -1 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'cac_lite') OR (na.gid = 0 AND na.realm = 'tac_lite') OR (na.gid = 1 AND na.realm = 'term_access'))) AND ( n.status = 1 AND ((e.event_start >= 1185926400 AND e.event_start <= 1188604799) OR (e.event_end >= 1185926400 AND e.event_end <= 1188604799) OR (e.event_start <= 1185926400 AND e.event_end >= 1188604799)) ) ORDER BY event_start in /home/paradesi/public_html/includes/database.mysql.inc on line 167.
user warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) query: SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1188011512 AND uid = 0 in /home/paradesi/public_html/includes/database.mysql.inc on line 167.
user warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) query: SELECT u.uid, u.name FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.timestamp >= 1188011512 AND s.uid > 0 ORDER BY s.timestamp DESC in /home/paradesi/public_html/includes/database.mysql.inc on line 167.
Thanks
Paradesi
Comments
I've seen this before, and
I've seen this before, and it's likely a problem with your MySQL server rather than with Drupal. Have checked that the MySQL server is still running?