I have an app that I uploaded to www.cloudcontrol.com. PHP
app. I have mysql
addon and have a running database with data already setup. I can access the database from my localhost using my app without any errors, when I try and access via the app uploaded to cloudcontrol, I get the following error:
CDbConnection failed to open the DB connection:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
If anyone could please help me with this. Thanks.