Jump to:

4938 Posts in 16764 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Installation error 'I couldn't find a database server'

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 991 Views
  • Chumps
    Avatar
    Community Member
    1 Post

    Installation error 'I couldn't find a database server' Link to this post

    Hello.

    I just ran the SS3 install and I'm getting an error saying 'I couldn't find a database server on 'localhost': Access denied for user '****_silverstripe'@'localhost' (using password: YES)'

    I'm 100% certain the database exists and all the information is correct I've even made a new database still saying it couldn't find it.

    Any ideas?

  • Optic Blaze
    Avatar
    Community Member
    162 Posts

    Re: Installation error 'I couldn't find a database server' Link to this post

    Check you SS _config file. What does that say?
    It should read something like this:

    global $databaseConfig;
    $databaseConfig = array(
       "type" => 'MySQLDatabase',
       "server" => 'localhost',
       "username" => 'root',
       "password" => 'yourpassword',
       "database" => 'yourdb',
       "path" => '',
    );

    If the info there is wrong, then change it to the correct variables.

    991 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.