I am trying to deploy a site developed on a localhost using XAMPP 1.7.3 on a Mac (OS 10.9).
When I try to deploy the package of my local site onto the domain hosted on the mediatemple.net grid service, I get an error when I test the database connection before actually deploying. The error is:
DATABASE CONNECTION FAILED!
Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
As far as I can tell everything is set up properly with the right db name, user and password.
Any insight would be appreciated. Thanks.
- The topic ‘Deploy error-database connection failed’ is closed to new replies.