Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Silverstripe will not install on LOCALHOST

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: 2355 Views
  • arthurdent
    Avatar
    Community Member
    163 Posts

    Silverstripe will not install on LOCALHOST Link to this post

    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

  • youngmug
    Avatar
    Community Member
    19 Posts

    Re: Silverstripe will not install on LOCALHOST Link to this post

    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.

  • bbudy
    Avatar
    Community Member
    3 Posts
  • arthurdent
    Avatar
    Community Member
    163 Posts

    Re: Silverstripe will not install on LOCALHOST Link to this post

    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!

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