Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

DB on Godaddy and password change


Go to End


2 Posts   2641 Views

Avatar
joey

Community Member, 9 Posts

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'@'208.109.181.231' (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?

Thanks,
Joe

Avatar
joey

Community Member, 9 Posts

7 January 2009 at 9:27am

Was able to figure this out, I was looking in the wrong place. My bad.