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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

New inaccessible database created on incorrect databasename in config

Go to End



Forum Moderator, 1391 Posts

26 June 2009 at 1:09am

I came upon this by accident: entering an incorrect databasename in mysite/_config.php (could happen when migrating to production site) results in Silverstripe creating a new database when visiting the site for the first time. Of course you can never login, there is no administrator...

Why would Silverstripe behave like this?