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

Query: SELECT u.acct_id FROM new_url u INNER JOIN new_acct a ON a.acct_id = u.acct_id WHERE a.site_enabled=1 AND u.url='outdoor-connection.com'