The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MySQL database names

Discussion in 'General Discussion' started by sparek-3, Jan 25, 2003.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,355
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    We have clients that attempt to create a database that is of the form:

    domain_com

    CPanel affectively makes this database as:

    user_domain_com

    That is fine, but then the users cannot add users to these databases. If I go in and recreate the database, as:

    domaincom

    which makes it:

    user_domaincom

    All works fine. Which leads me to think that CPanel does not like database names that use their own _ character. Thats fine if that is the case, I just wanted to make sure I wasn't missing something here. Can anyone else create database of the above form (user_domain_com) ? Is this a problem CPanel developers are working on? Just need some information to tell my clients.

    Thanks
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    You cannot have multiple underscores in your database names or usernames. Post a warning in your skin to tell your clients to use single name databases & users.
     
Loading...

Share This Page