I created new cPanel account, using this account created new database, new database user and connected user to database, simple stuff. Now, I want this particular user to be able to create new databases, how can I escalate this database user’s permissions to allow creating new databases? I still want these databases to be associated with cPanel account, is adding account name prefix (account_) to database name enough to associate it with that cPanel account?
Edit: Whoops, forgot to mention – database is MySQL.
You sould read the online manual that contains all the proper procedures, but where’s how you can do it:
This should be adapted to your API, but what it does is allow the DB creation, with a user creation, and finally, associate then!
Ps: see xmlapi-php-class
Hope it helps you…