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.

Installing SilverStripe /

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

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

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


Go to End


2 Posts   2224 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, 190 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.