When an URL powered by Magento is accessed, following error is thrown:
SQLSTATE[HY000]  Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Magento configuration files, located at
Contain incorrect database access credentials (here 12345 is the application instance ID, can be different in each case).
Set the access credentials correctly. Passwords for databases managed by POA can be updated in Customer's Control Panel, More Services > Databases.