Search Engine: Elastic

Article ID: 117595, created on Sep 30, 2013, last review on May 11, 2014

  • Applies to:
  • Operations Automation


When an URL powered by Magento is accessed, following error is thrown:

SQLSTATE[HY000] [2002] 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.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF