PDO::errorInfo():

SQLSTATE[HY000] [2002] Connection refused