23553 Posts in 19380 Topics by 2892 members
|Go to End|
7 January 2009 at 4:56am
I wanted to see if anyone has come across this. I have silverstripe installed on GoDaddy. I changed the DB password under the GoDaddy admin panel and now the app gets these errors:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'bre0828109025023'@'22.214.171.124' (using password: YES) in /home/content/b/r/e/bretthartley08/html/main/sapphire/core/model/MySQLDatabase.php on line 41
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/content/b/r/e/bretthartley08/html/main/sapphire/core/model/MySQLDatabase.php on line 42
Fatal error: DATABASE ERROR: Couldn't connect to MySQL database in /home/content/b/r/e/bretthartley08/html/main/sapphire/core/model/Database.php on line 431
I tried adding this to the _config file but no luck:
// Defines your Database Details.
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "",
"password" => "",
"database" => "",
No matter what I do the password for the DB user to connect to the DB won't work. I don't see any other place to make the change. Any help out there?
7 January 2009 at 9:27am
Was able to figure this out, I was looking in the wrong place. My bad.
|Go to Top|