4621 Posts in 1397 Topics by 1392 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2050 Views |
-
Silverstripe will not install on LOCALHOST

12 November 2009 at 9:34am
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
-
Re: Silverstripe will not install on LOCALHOST

12 November 2009 at 7:19pm Last edited: 12 November 2009 7:20pm
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.
-
Re: Silverstripe will not install on LOCALHOST

12 November 2009 at 8:29pm
learn more from this post!
___________________________
golf equipment
callaway x-22 irons
taylorMade r9 fairway wood
callaway ft-iq driver
taylormade r9 driver
ping g15 irons -
Re: Silverstripe will not install on LOCALHOST

12 November 2009 at 9:06pm
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!
| 2050 Views | ||
|
Page:
1
|
Go to Top |



