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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

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

Database name


Go to End


6 Posts   1764 Views

Avatar
jackvans

Community Member, 2 Posts

15 August 2008 at 12:16am

Edited: 15/08/2008 12:16am

Try to install SilverStripe. Everything is oke, except de name of de database: when I enter the name:
jackvans-nl, Silverstripe changes it in: jackvansnl. Problem!
Anyone a suggestion? Thanx!
Jack

Avatar
Hamish

Community Member, 712 Posts

15 August 2008 at 9:18am

Generally it is a good idea not to include dashes in your database names - they're special characters that (in certain situations) require additional escaping. It's much more cross-platform friendly to use underscores.

Doesn't solve your problem, but it's possible that it's a limitation of SS or the database connectors and you might just need to rename your dbs.

Avatar
jackvans

Community Member, 2 Posts

28 August 2008 at 7:26pm

The "-" in the database name is not my choice. I'm afraid I can't change the name. I hoped there was some kind of a patch, as there is for Joomla: Joomla 1.5.2 installer patch.

Avatar
cumquat

Community Member, 201 Posts

11 September 2008 at 7:15pm

Hi there, just to jump in on this thread I'm having the same problem, my provider automatically adds it's server name to the front of my databases,e.g. web170-databasename
I'm a bit new at the whole php thing and was wondering if there is just a part of the install.php that can be commented out to prevent it trying to change the name to web170databasename.

regards

Mick

Avatar
Fuzz10

Community Member, 791 Posts

11 September 2008 at 7:32pm

Avatar
cumquat

Community Member, 201 Posts

11 September 2008 at 7:32pm

I was just about to cancel my last post but you beat me to it :o)
Thanks for that anyway.

Mick