Lost connection to MySQL server at 'reading initial communication packet', system error: 113

error: DB_Server_Connection_Failed
Error Text:
Lost connection to MySQL server at 'reading initial communication packet', system error: 113 ....
Query Text:

Access denied for user 'thehide'@'localhost' (using password: NO)
select * from bm_headers where page = "gallery.html"

Error Text:
Access denied for user 'thehide'@'localhost' (using password: NO) ....
Query Text:
select * from bm_headers where page = "gallery.html"
Invalid_Query_MyExec