CmdID / az / az mysql / az mysql db
az mysql db create
Create a MySQL database. Azure CLI reference
2 examples Its page in the Azure CLI reference
Examples
Create database 'testdb' in the server 'testsvr' with the default parameters.
az mysql db create -g testgroup -s testsvr -n testdbIdentify-gName of resource group.Create database 'testdb' in server 'testsvr' with a given character set and collation rules.
az mysql db create -g testgroup -s testsvr -n testdb --charset {valid_charset} --collation {valid_collation}Identify-gName of resource group.