PDA

View Full Version : MySQL Database naming issue.


DynaMike Photos
08-23-2005, 02:23 AM
I'm trying to program a Perl script to create a MySQL database. As with my other website, I know that it requires the username login to precede the name of the database, however, if I run my script, it's always kicked out. Any idea what is happening?

Snowman
08-23-2005, 08:42 AM
Well as far as I know, only cPanel has the right to create databases and their users. In Perl/PHP scripts, you can only modify the database, e.g. add/remove tables.

DynaMike Photos
08-23-2005, 11:13 PM
I have two different websites I work on that are on Bihira. And my other website can and does create MySQL databases. I will go check it out now, just to make sure that the functionality is still there.

I just checked, and I can create databases with my other website (also hosted by Bihira), from within Perl.

I should also state that MyPHPAdmin also can't create any new databases, no matter what they're named. Maybe I should send in a support ticket.