4572 Posts in 1384 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 161 Views |
-
Install Silverstripe when DB is not on 'localhost'

19 March 2013 at 7:18pm
I'm trying to install SilverStripe but not on a LAMP stack. I have Apache on the localhost and MySQL on another server. How do I get SilverStripe to install under these conditions? I've looked for the DB connection information in the downloaded files but I've haven't (so far) been able to find it. Is it hard-coded somewhere?
Cheers,
Cliff
-
Re: Install Silverstripe when DB is not on 'localhost'

19 March 2013 at 9:53pm
Your database details will either be in the _ss_environment file or in mysite/_config.php. If it is in the _config.php file do a search for the $db variable and replace localhost with the IP or server name of my MySQL server.
-
Re: Install Silverstripe when DB is not on 'localhost'

19 March 2013 at 11:11pm
Thanks, as it happens I didn't need to look there or change that.
On the install page I simply went down to the database section and filled in the details there. I was confused by the fact that the error and the "Recheck" button appears *before* the section where you put in the database details. I put my DB server name and details into the DB section, clicked the "Recheck" button *above* the details and it all worked. I note that there is a "Recheck" button *after* the database details too.
After it installed and the dust settled I looked at the _config.php and there were my DB details. Cool.
That will teach me to read everything on the page....
Cheers,
Cliff
| 161 Views | ||
|
Page:
1
|
Go to Top |


