# Create a DBaaS MySQL service **POST /dbaas-mysql/{name}** Create a DBaaS MySQL service ## Servers - https://api-ch-gva-2.exoscale.com/v2: https://api-ch-gva-2.exoscale.com/v2 () ## Parameters ### Path parameters - **name** (string) ### Body: application/json (object) - **backup-schedule** (object) - **integrations** (array[object]) Service integrations to be enabled when creating the service. - **ip-filter** (array[string]) Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16' - **termination-protection** (boolean) Service is protected against termination and powering off - **fork-from-service** (string) - **recovery-backup-time** (string) ISO time of a backup to recover from for services that support arbitrary times - **mysql-settings** (object) - **maintenance** (object) Automatic maintenance settings - **admin-username** (string) Custom username for admin user. This must be set only when a new service is being created. - **version** (string) MySQL major version - **plan** (string) Subscription plan - **admin-password** (string) Custom password for admin user. Defaults to random string. This must be set only when a new service is being created. - **migration** (object) Migrate data from existing server - **binlog-retention-period** (integer(int64)) The minimum amount of time in seconds to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default for example if using the MySQL Debezium Kafka connector. ## Responses ### 200 200 #### Body: application/json (object) - **id** (string(uuid)) Operation ID - **reason** (string) Operation failure reason - **reference** (object) Related resource reference - **message** (string) Operation message - **state** (string) Operation status [Powered by Bump.sh](https://bump.sh)