AddHosting - MySQLDatabaseUser
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 - MySQLDatabaseUser is available via the following gateways:
Required Parameters
The following parameters are standard parameters for this command.
Command
COMMAND     = AddHosting
TYPE         = Mysqldatabaseuser
CLASS     = cpanel
ACCOUNT    = (TEXT)
PASSWORD    = (TEXT)
OBJECT    = (TEXT)Attributes
| ACCOUNT | The cPanel account ID of the end customer. | 
| OBJECT | The database name must be preceded by the cPanel username and an underscore. Due to the method that cPanel & WHM uses to store MySQL database names, each underscore character requires two characters of that limit. | 
| PASSWORD | This is optional for the user to set their own password, otherwise the system will automatically generate one. |