Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

[ERROR] Username cannot be longer than -1 characters.

Discussion in 'Database Discussion' started by foz, May 17, 2012.

  1. foz

    foz Registered

    Joined:
    Jun 9, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    When adding a new user for a database it gives the error:

    Username cannot be longer than -1 characters.

    regardless of what you enter. I have checked the mysql > user table and this is set to 16 for length so that isn't the problem.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,467
    Likes Received:
    420
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Silly question, how are you adding the user?

    Assuming via cPanel > Databases > MySQL Databases > Add user

    I just tried to reproduce your issue on EDGE and CURRENT tier servers and could not. Works as expected.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. foz

    foz Registered

    Joined:
    Jun 9, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Yep that is the way I am trying to add the user.

    As soon as any letter is added into the user field the above error appears
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,467
    Likes Received:
    420
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You're using the cPanel default x3 theme and cPanel is up to date, correct? If yes you might want to open a ticket to cPanel Support to come by for a closer look.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. foz

    foz Registered

    Joined:
    Jun 9, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Using latest version and x3 theme. Will open a support ticket.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice