AddHosting - MySQLDatabase
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 - MySQLDatabase is available via the following gateways:
Required Parameters
The following parameters are standard parameters for this command.
Command
COMMAND = AddHosting
TYPE = Mysqldatabase
CLASS = cpanel
ACCOUNT = (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. |