Hi All,

I have posted this before in a wrong place, so I repost it here. Hope anyone can help me.

I have finished a site with mysql database, and I'm writing a install script for it.
The problem I meet is that when I create a database in my script, it has a 1044 error. The site is using cpanel. And I searched in this site and found it can't create a user with the permission of create a db.
But can I use the root user to create the db in my script? I tryed but failed. The user I use the one used to login cpanel. And something strange is that the first serveral times I tryed were successed, but then I havn't the lucky.

Any advice will be appreciated!