Error connecting to the host localhost, by user cmnotices on database cmnotices. Cause: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (2002)

Error in executing DELETE FROM notices WHERE id = '$row->id' query

error:0