Jump to:

23358 Posts in 17874 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » DB on Godaddy and password change

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

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

Page: 1
Go to End
Author Topic: 1462 Views
  • joey
    Avatar
    Community Member
    9 Posts

    DB on Godaddy and password change Link to this post

    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

  • joey
    Avatar
    Community Member
    9 Posts

    Re: DB on Godaddy and password change Link to this post

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

    1462 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.