Skip to content

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 following parameters are standard parameters for this command.

Command
COMMAND = AddHosting
TYPE = Mysqldatabase
CLASS = cpanel
ACCOUNT = (TEXT)
OBJECT = (TEXT)
ACCOUNTThe cPanel account ID of the end customer.
OBJECTThe 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.