AddHosting - MySQLDatabaseUserPrivileges
This command is used to create a new cPanel user account with a specific "TYPE". There is a separate API command page for each specific "TYPE". Please kindly note the "TYPE" parameter value here. Different parameters are needed for different "TYPE".
Possible Gateways
The command AddHosting - MySQLDatabaseUserPrivileges is available via the following gateways:
Required Parameters
The following parameters are standard parameters for this command.
Command
COMMAND = AddHosting
TYPE = Mysqldatabaseuserprivileges
CLASS = cpanel
ACCOUNT = (TEXT)
DATABASENAME = (TEXT)
DATABASEUSER = (TEXT)
OBJECT = (TEXT)
Attributes
| ACCOUNT | The cPanel account ID of the end customer. |
| DATABASENAME | User generated database name. |
| DATABASEUSER | User generated database user. |
| OBJECT | ALL PRIVILEGES or ALTER, ALTER ROUTINE, CREATE, CREATE ROUTINE, CREATE TEMPORARY TABLES, CREATE VIEW, DELETE, DROP, EVENT, EXECUTE, INDEX, INSERT, LOCK TABLES, REFERENCES, SELECT, SHOW VIEW, TRIGGER, UPDATE |