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   1062 Views

Avatar
Chumps

Community Member, 1 Post

30 June 2012 at 11:12am

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

Community Member, 165 Posts

10 July 2012 at 10:00pm

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.