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.* FROM songs s, users u WHERE (u.username LIKE '%%' OR u.name  LIKE '%%' OR s.title LIKE '%%' OR s.artist LIKE '%%') AND s.approved>0 AND s.userid=u.id 
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 
SEARCH