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

Silverstripe will not install on LOCALHOST


4 Posts   2365 Views


12 November 2009 at 9:34am Community Member, 165 Posts

After successfully installing a copy of SilverStripe on Localhost and playing about with it, I am trying to install a clean copy for the final site. When running the installer as ROOT user (plus pswd), I am advised that everything 'appears' to be OK'. However when I click 'install' I get the following two errors:

That username/password doesn't work: Access denied for user 'root'@'localhost' (using password: YES); and
I can't create new databases and the database 'SS_mysite' doesn't exist (user 'root' doesn't have CREATE DATABASE permissions.)

Strangely enough, when I log in using system admin user and pswd, I only get the second message...

On a tight deadline and really want to get this running, so any advice is very much appreciated!!

Mac OSX 10.4.11/XAMPP webserver PHP version 5.2.9


12 November 2009 at 7:19pm (Last edited: 12 November 2009 7:20pm), Community Member, 19 Posts

The quickest fix would be to manually create the database and user for the database beforehand. At install, provide that information in the SilverStripe installer, and it should be able to build the database tables needed.

As a general rule, I always follow these steps to help partition databases and permissions for security reasons. Using the "root" user for a website frontend is a very bad idea, especially for a publicly-accessible site.


12 November 2009 at 8:29pm Community Member, 3 Posts

learn more from this post!

[url=]golf equipment[/url]
[url=]callaway x-22 irons[/url]
[url=]taylorMade r9 fairway wood[/url]
[url=]callaway ft-iq driver[/url]
[url=]taylormade r9 driver[/url]
[url=]ping g15 irons[/url]


12 November 2009 at 9:06pm Community Member, 165 Posts

Thanks for your comment. Point about security taken, although at the moment this is only running on Localhost and is not publicly accessible! Setting up database beforehand and connecting to it does make sense!