You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/mysql/tutorial-provision-mysql-server-using-Azure-Resource-Manager-templates.md
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: pariks
6
6
ms.service: mysql
7
7
ms.devlang: json
8
8
ms.topic: tutorial
9
-
ms.date: 3/18/2020
9
+
ms.date: 12/02/2019
10
10
ms.custom: mvc
11
11
---
12
12
@@ -72,28 +72,28 @@ To get the JSON template reference for an Azure Database for MySQL server, go to
72
72
}
73
73
```
74
74
In this request, the values that need to be customized are:
75
-
+`name` - Specify the name of your MySQL Server (without domain name).
76
-
+`location` - Specify a valid Azure data center region for your MySQL Server. For example, westus2.
77
-
+`properties/version` - Specify the MySQL server version to deploy. For example, 5.6 or 5.7.
78
-
+`properties/administratorLogin` - Specify the MySQL admin login for the server. The admin sign-in name cannot be azure_superuser, admin, administrator, root, guest, or public.
79
-
+`properties/administratorLoginPassword` - Specify the password for the MySQL admin user specified above.
80
-
+`properties/sslEnforcement` - Specify Enabled/Disabled to enable/disable sslEnforcement.
81
-
+`storageProfile/storageMB` - Specify the max provisioned storage size required for the server in megabytes. For example, 5120.
82
-
+`storageProfile/backupRetentionDays` - Specify the desired backup retention period in days. For example, 7.
83
-
+`storageProfile/geoRedundantBackup` - Specify Enabled/Disabled depending on Geo-DR requirements.
84
-
+`sku/tier` - Specify Basic, GeneralPurpose, or MemoryOptimized tier for deployment.
85
-
+`sku/capacity` - Specify the vCore capacity. Possible values include 2, 4, 8, 16, 32 or 64.
86
-
+`sku/family` - Specify Gen5 to choose hardware generation for server deployment.
87
-
+`sku/name` - Specify TierPrefix_family_capacity. For example B_Gen5_1, GP_Gen5_16, MO_Gen5_32. See the [pricing tiers](./concepts-pricing-tiers.md) documentation to understand the valid values per region and per tier.
88
-
+`resources/properties/virtualNetworkSubnetId` - Specify the Azure identifier of the subnet in VNet where Azure MySQL server should be placed.
89
-
+`tags(optional)` - Specify optional tags are key value pairs that you would use to categorize the resources for billing etc.
75
+
+`name` - Specify the name of your MySQL Server (without domain name).
76
+
+`location` - Specify a valid Azure data center region for your MySQL Server. For example, westus2.
77
+
+`properties/version` - Specify the MySQL server version to deploy. For example, 5.6 or 5.7.
78
+
+`properties/administratorLogin` - Specify the MySQL admin login for the server. The admin sign-in name cannot be azure_superuser, admin, administrator, root, guest, or public.
79
+
+`properties/administratorLoginPassword` - Specify the password for the MySQL admin user specified above.
80
+
+`properties/sslEnforcement` - Specify Enabled/Disabled to enable/disable sslEnforcement.
81
+
+`storageProfile/storageMB` - Specify the max provisioned storage size required for the server in megabytes. For example, 5120.
82
+
+`storageProfile/backupRetentionDays` - Specify the desired backup retention period in days. For example, 7.
83
+
+`storageProfile/geoRedundantBackup` - Specify Enabled/Disabled depending on Geo-DR requirements.
84
+
+`sku/tier` - Specify Basic, GeneralPurpose, or MemoryOptimized tier for deployment.
85
+
+`sku/capacity` - Specify the vCore capacity. Possible values include 2, 4, 8, 16, 32 or 64.
86
+
+`sku/family` - Specify Gen5 to choose hardware generation for server deployment.
87
+
+`sku/name` - Specify TierPrefix_family_capacity. For example B_Gen5_1, GP_Gen5_16, MO_Gen5_32. See the [pricing tiers](./concepts-pricing-tiers.md) documentation to understand the valid values per region and per tier.
88
+
+`resources/properties/virtualNetworkSubnetId` - Specify the Azure identifier of the subnet in VNet where Azure MySQL server should be placed.
89
+
+`tags(optional)` - Specify optional tags are key value pairs that you would use to categorize the resources for billing etc.
90
90
91
91
If you are looking to build an Azure Resource Manager template to automate Azure Database for MySQL deployments for your organization, the recommendation would be to start from the sample [Azure Resource Manager template](https://github.com/Azure/azure-quickstart-templates/tree/master/101-managed-mysql-with-vnet) in Azure Quickstart GitHub Gallery first and build on top of it.
92
92
93
-
If you a'e new to Azure Resource Manager templates and would like to try it, you can start by following these steps:
94
-
+Clone or download the Sample [Azure Resource Manager template](https://github.com/Azure/azure-quickstart-templates/tree/master/101-managed-mysql-with-vnet) from Azure Quickstart gallery.
95
-
+Modify the azuredeploy.parameters.json to update the parameter values based on your preference and save the file.
96
-
+Use Azure CLI to create the Azure MySQL server using the following commands
93
+
If you are new to Azure Resource Manager templates and would like to try it, you can start by following these steps:
94
+
+Clone or download the Sample [Azure Resource Manager template](https://github.com/Azure/azure-quickstart-templates/tree/master/101-managed-mysql-with-vnet) from Azure Quickstart gallery.
95
+
+Modify the azuredeploy.parameters.json to update the parameter values based on your preference and save the file.
96
+
+Use Azure CLI to create the Azure MySQL server using the following commands
97
97
98
98
You may use the Azure Cloud Shell in the browser, or Install Azure CLI on your own computer to run the code blocks in this tutorial.
99
99
@@ -106,9 +106,9 @@ az group deployment create -g $ ExampleResourceGroup --template-file $ {templa
106
106
```
107
107
108
108
## Get the connection information
109
-
o connect to your server, you need to provide host information and access credentials.
110
-
``azurecli-interactive
111
-
z mysql server show --resource-group myresourcegroup --name mydemoserver
109
+
To connect to your server, you need to provide host information and access credentials.
110
+
```azurecli-interactive
111
+
az mysql server show --resource-group myresourcegroup --name mydemoserver
112
112
```
113
113
114
114
The result is in JSON format. Make a note of the **fullyQualifiedDomainName** and **administratorLogin**.
@@ -148,7 +148,7 @@ mysql -h mydemoserver.database.windows.net -u myadmin@mydemoserver -p
148
148
```
149
149
150
150
## Create a blank database
151
-
Once you're connected to the server, create a blank database.
151
+
Once you’re connected to the server, create a blank database.
152
152
```sql
153
153
mysql> CREATE DATABASE mysampledb;
154
154
```
@@ -164,9 +164,9 @@ Now that you know how to connect to the Azure Database for MySQL database, compl
164
164
First, create a table and load it with some data. Let's create a table that stores inventory information.
0 commit comments