Remember me? forgot password | register

SilverStripe Forum

1172 Posts in 334 Topics by 320 members

Jump to:

Website Authors

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Website Authors » Database name
Page: 1 go to end Reply
Author Topic: Database name 512 views
  • jackvans
    jackvans's avatar
    Community Member
    2 posts

    Database name Link to this post

    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

    Last edited: 15 August 2008 at 12:16am

  • Hamish
    avatar
    Community Member
    129 posts
    1 SilverStripe Site 1 SilverStripe Theme

    Re: Database name Link to this post

    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.

  • jackvans
    jackvans's avatar
    Community Member
    2 posts

    Re: Database name Link to this post

    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.

  • cumquat
    cumquat's avatar
    Community Member
    2 posts

    Re: Database name Link to this post

    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

  • Fuzz10
    avatar
    Community Member
    414 posts
    6 SilverStripe Sites

    Re: Database name Link to this post

  • cumquat
    cumquat's avatar
    Community Member
    2 posts

    Re: Database name Link to this post

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

    Mick

    512 views
go to top Reply

Currently Online:

SonicHedgehog, Craig, LeeUmm, bagherozzo21, simon_w

Welcome to our latest member: bagherozzo21