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.

Installing SilverStripe

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

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

Installation error 'I couldn't find a database server'


Reply

2 Posts   1008 Views

Avatar
Chumps

30 June 2012 at 11:12am Community Member, 1 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?

Avatar
Optic Blaze

10 July 2012 at 10:00pm Community Member, 162 Posts

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.