Database connection failed
Songmaker Chart
> An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

...in the following sql statement:

SELECT * FROM users WHERE id=''
 
 
Twitter
   

An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

...in the following sql statement:

SELECT s.*,COUNT(v.id) as num_votes FROM songs s, votes v WHERE s.approved=1 AND v.songid=s.id AND v.created<='20180219000000' AND v.created<='20180225235959'  GROUP BY s.id ORDER BY num_votes DESC 
THE OFFICIAL TOP 10 SONGMAKER CHART
20 February 2018 1-10 11-40 41-60 61-80 81-100 Archive
An error occurred whilst accessing the database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
An error occurred accessing the database:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

...in the following sql statement:

SELECT * FROM songs WHERE approved=1 AND created<'20180219000000' ORDER BY created DESC