Portal do cliente      

SELECT BannerId, Imagem, Link, Descricao, Ordem, Situacao FROM Banner WHERE Situacao in ('ativo', 'inativo') ORDER BY Situacao, Ordem, BannerId

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