5.7.2 1&1 hosting database "SQLSTATE[HY000]  Connection refused"
As current I am seeing the "SQLSTATE[HY000]  Connection refused" error.
I have searched the forum but have been unable to find any solutions.
The SQL error code 2002 means: disk full.
I would be grateful if anyone out there managed to get it working? with 5.7.2+
I have now managed to install 5.7.2 on an alternative server which resolves the immediate issue.
For me the localhost uses the socket within it ie
'server' => 'localhost:/tmp/mysql5.sock',
I noticed the Driver.php file mentioned unix_xoket can be passed as a parameter, so I moved the socket to that minus the colon ":" and now I am in, hope it helps?