Not able to connect to database on Dotster


#1

Database connection “Mysql” is missing, or could not be created.
SQLSTATE[HY000] [2002] Permission denied

I can connect ok on my own localhost, but the dotster hosted site cannot
I don’t think I have access to the php.ini file, but is that even the problem?
I am using an older version of CakePHP due to dotster using PHP 5.5.22


#2

you have to change the app.php in the doster files to match the database configuration they provide (host, user and password, and database)


#3

Thanks! Post must be at least 20 characters too.