MySQL SELECT error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
SELECT count(portfolio_id) as countx FROM portfolio WHERE 1 LIMIT 0,1