Creating DB: Invalid Database Name

Codefighter

Verified User
Joined
Oct 21, 2004
Messages
21
After a new OS install, restoring of my backups, and a DirectAdmin and a phpMyAdmin update, I proceeded to create a new user on my server, with a new mySQL database.

Using DirectAdmin, when logged in as the new account, when I create the mySQL database, I get the error:
"
Error creating the database
Details
Invalid Database Name
"

The database name defaults to something like:
newaccnt_

And I have tried appending nothing after the _, a single character, two characters, etc. (newaccnt is the new DirectAdmin user I created). I have 4 other users on the server, all created within the past 6 months, that have a mySQL database. The account is permitted 1 mySQL database according to the 'User Package' I created.

I am using DirectAdmin 1.24, and mySQL 4.0.23.

Thanks in advance.
 
The DirectAdmin support replied to my request:

Apparently, I never tried a name with at least 3 characters. In the past, my databases have always been in the form of user_db, meaning each user has 1 database, and I call it 'db' for them, hence the mySQL database named 'user_db'.

In 1.23 this was not a problem, but apparently in 1.24 the database name you enter (which is appended to user_) must be at least 3 characters long.
 
Ok,

We have the same problem, is there a solution for it, maybe
the only solution is changin the username to a smaller name, but how?

Tnx already
 
Back
Top