We use Plesk, for our sins.
We have updated MariaDB from 10.5 to 10.11.14 and now all websites on the server that previously connected on "localhost" are coming back with:
SQLSTATE[HY000] [2002] Permission denied
The only online details we can find for this issue relate to remote connection with bad details, but our connections are all localhost only. We have changed the passwords via the Plesk interface to be the same as the user connection details but they still give Permission Denied on the websites.
Plesk interface and PhpMyAdmin still connect ok.
How do we resolve this?
UPDATE:
Our IDE states:
DBMS: MariaDB (no ver.) Case sensitivity: plain=mixed, delimited=exact Socket fail to connect to host:address=(host=localhost)(port=3306) (type=primary). Connection refused.
This is using SSH Tunnelling to the Server.
Again, this worked before the update. How can we resolve this?