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/flexible-server/quickstart-create-arm-template.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ ms.date: 02/16/2023
26
26
27
27
## Create a server that has public access
28
28
29
-
Create an *azuredeploy.json* file with the following content to create an Azure Database for MySQL flexible server instance using public access connectivity method and also create a database on the server. Update the **firewallRules** default value if needed.
29
+
To create an Azure Database for MySQL flexible server instance by using the public access connectivity method and create a database on the server, reate an *azuredeploy.json* file that has the following code examples. If necessary, update the `firewallRules` default value.
30
30
31
31
```json
32
32
{
@@ -73,7 +73,7 @@ Create an *azuredeploy.json* file with the following content to create an Azure
73
73
"MemoryOptimized"
74
74
],
75
75
"metadata": {
76
-
"description": "The tier of the particular SKU. High Availability is available only for GeneralPurpose and MemoryOptimized sku."
76
+
"description": "The tier of the specific SKU. High vailability is available only for GeneralPurpose and MemoryOptimized SKUs."
77
77
}
78
78
},
79
79
"version": {
@@ -91,7 +91,7 @@ Create an *azuredeploy.json* file with the following content to create an Azure
91
91
"type": "string",
92
92
"defaultValue": "1",
93
93
"metadata": {
94
-
"description": "Availability Zone information of the server. (Leave blank for No Preference)."
94
+
"description": "Availability zone information of the server. (If you don't have a preference, leave leave blank.)"
95
95
}
96
96
},
97
97
"haEnabled": {
@@ -103,14 +103,14 @@ Create an *azuredeploy.json* file with the following content to create an Azure
103
103
"ZoneRedundant"
104
104
],
105
105
"metadata": {
106
-
"description": "High availability mode for a server: Disabled, SameZone, or ZoneRedundant"
106
+
"description": "High availability mode for a server: Disabled, SameZone, or ZoneRedundant"
107
107
}
108
108
},
109
109
"standbyAvailabilityZone": {
110
110
"type": "string",
111
111
"defaultValue": "2",
112
112
"metadata": {
113
-
"description": "Availability zone of the standby server."
113
+
"description": "The availability zone of the standby server."
114
114
}
115
115
},
116
116
"storageSizeGB": {
@@ -133,7 +133,7 @@ Create an *azuredeploy.json* file with the following content to create an Azure
133
133
"type": "string",
134
134
"defaultValue": "Standard_B1ms",
135
135
"metadata": {
136
-
"description": "The name of the sku, e.g. Standard_D32ds_v4."
136
+
"description": "The name of the SKU. For example, Standard_D32ds_v4."
137
137
}
138
138
},
139
139
"backupRetentionDays": {
@@ -256,7 +256,7 @@ Create an *azuredeploy.json* file with the following content to create an Azure
256
256
257
257
## Create a server that has private access
258
258
259
-
Modify the following code samples to create an Azure Database for MySQL flexible server that has private access connectivity inside a virtual network:
259
+
Modify the following code examples to create an Azure Database for MySQL flexible server that has private access connectivity inside a virtual network:
260
260
261
261
```json
262
262
{
@@ -488,14 +488,14 @@ Modify the following code samples to create an Azure Database for MySQL flexible
488
488
489
489
Deploy the JSON file by using either the Azure CLI or Azure PowerShell.
490
490
491
-
# [Azure CLI](#tab/CLI)
491
+
# [Azure CLI](#tab/azure-cli)
492
492
493
493
```azurecli
494
494
az group create --name exampleRG --location eastus
495
495
az deployment group create --resource-group exampleRG --template-file azuredeploy.json
- For a step-by-step tutorial that guides you through the process of creating a Bicep template, see [Quickstart: Create Bicep files with Visual Studio Code](../../azure-resource-manager/bicep/quickstart-create-bicep-use-visual-studio-code.md).
385
+
- For a step-by-step tutorial that guides you through the process of creating a Bicep template, see [Quickstart: Create Bicep files by using Visual Studio Code](../../azure-resource-manager/bicep/quickstart-create-bicep-use-visual-studio-code.md).
386
386
- For a step-by-step tutorial that shows how to build an app by using Azure App Service and MySQL, see[Build a PHP (Laravel) web app with MySQL](tutorial-php-database-app.md).
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/quickstart-create-server-cli.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,13 @@ This quickstart shows you how to use [Azure CLI](/cli/azure/get-started-with-azu
21
21
22
22
## Open Azure Cloud Shell
23
23
24
-
[Azure Cloud Shell](../../cloud-shell/overview.md) is a free, interactive shell that you can use to run the steps that are described in this article. It has common Azure tools preinstalled and configured to use with your account.
24
+
[Azure Cloud Shell](../../cloud-shell/overview.md) is a free, interactive shell that you can use to run the steps that are described in this article. In Cloud Shell, common Azure tools are preinstalled and configured to use with your account.
25
25
26
-
To open Cloud Shell, in the upper-right corner of a code example, select **Try it** corner of a code block. You can also open Cloud Shell in a separate browser tab by going to [https://shell.azure.com/bash](https://shell.azure.com/bash). Select **Copy** to copy a code sample, paste the code in Cloud Shell, and then select **Enter** to run it.
26
+
To open Cloud Shell, in the upper-right corner of a code example, select **Try it**.
27
27
28
-
If you prefer to install and use the Azure CLI, this quickstart requires Azure CLI version 2.0 or later. Run `az --version` to find the version of your Azure CLI installation. If you need to install or upgrade, see [Install the Azure CLI](/cli/azure/install-azure-cli).
28
+
You can also open Cloud Shell in a separate browser tab by going to [https://shell.azure.com/bash](https://shell.azure.com/bash). Select **Copy** to copy the contents of a code block. In Cloud Shell, paste the code and select **Enter** to run it.
29
+
30
+
If you prefer to install and use the Azure CLI, this quickstart requires Azure CLI version 2.0 or later. To find the version of your Azure CLI installation. , run `az --version`. If you need to install or upgrade, see [Install the Azure CLI](/cli/azure/install-azure-cli).
29
31
30
32
## Prerequisites
31
33
@@ -104,7 +106,7 @@ az mysql flexible-server db create -d newdatabase
104
106
```
105
107
106
108
> [!NOTE]
107
-
> Connections to Azure Database for MySQL - Flexible Server communicate by using port 3306. If you try to connect from within a corporate network, outbound traffic over port 3306 might not be allowed. If this is the case, you can't connect to your server unless your IT department opens port 3306.
109
+
> Connections to Azure Database for MySQL - Flexible Server communicate by using port 3306. If you try to connect from within a corporate network, outbound traffic through port 3306 might not be allowed. You can't connect to your server unless your IT department opens port 3306.
108
110
109
111
## Get the connection information
110
112
@@ -149,7 +151,7 @@ The result is in JSON format. Make a note of the values for `fullyQualifiedDomai
149
151
150
152
## Connect and test the connection by using the Azure CLI
151
153
152
-
You can use Azure Database for MySQL - Flexible Server to connect to your Azure Database for MySQL flexible server by using the `az mysql flexible-server connect` command in the Azure CLI. You can use this command to test connectivity to your database server, create a quick basic database, and run queries directly against your server without installing *mysql.exe* or MySQL Workbench. You can also use the command in interactive mode to run multiple queries at a time.
154
+
You can use Azure Database for MySQL - Flexible Server to connect to your flexible server by using the `az mysql flexible-server connect` command in the Azure CLI. You can use this command to test connectivity to your database server, create a quick basic database, and run queries directly against your server without installing *mysql.exe* or MySQL Workbench. You can also use the command in interactive mode to run multiple queries at a time.
153
155
154
156
Run the following script to test and validate the connection to the database from your development environment:
155
157
@@ -197,7 +199,7 @@ If you created your Azure Database for MySQL flexible server by using private ac
197
199
198
200
If you created your Azure Database for MySQL - Flexible Server instance by using public access (allowed IP addresses), you can add your local IP address to the list of firewall rules on your server. For detailed guidance, see [Create or manage firewall rules](how-to-manage-firewall-portal.md).
199
201
200
-
To connect to the server from your local environment, you can use either [mysql.exe](https://dev.mysql.com/doc/refman/8.0/en/mysql.html) or [MySQL Workbench](./connect-workbench.md). Azure Database for MySQL - Flexible Server supports connecting your client applications to the Azure Database for MySQL - Flexible Server service by using Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL). TLS is an industry-standard protocol that ensures encrypted network connections between your database server and client applications, so you can adhere to compliance requirements. To connect with your MySQL Azure Database for MySQL flexible server, download the [public SSL certificate](https://dl.cacerts.digicert.com/DigiCertGlobalRootCA.crt.pem) for certificate authority verification. To learn more about connecting with encrypted connections or disabling SSL, see [Connect to Azure Database for MySQL - Flexible Server by using encrypted connections](how-to-connect-tls-ssl.md).
202
+
To connect to the server from your local environment, you can use either [mysql.exe](https://dev.mysql.com/doc/refman/8.0/en/mysql.html) or [MySQL Workbench](./connect-workbench.md). Azure Database for MySQL - Flexible Server supports connecting your client applications to the Azure Database for MySQL - Flexible Server service by using Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL). TLS is an industry-standard protocol that ensures encrypted network connections between your database server and client applications, so you can adhere to compliance requirements. To connect with your Azure Database for MySQL flexible server, download the [public SSL certificate](https://dl.cacerts.digicert.com/DigiCertGlobalRootCA.crt.pem) for certificate authority verification. To learn more about connecting with encrypted connections or disabling SSL, see [Connect to Azure Database for MySQL - Flexible Server by using encrypted connections](how-to-connect-tls-ssl.md).
201
203
202
204
The following example shows how to connect to your Azure Database for MySQL flexible server by using the MySQL command-line client tool. You can install the tool if it's not already installed. Download the DigiCertGlobalRootCA certificate that's required for SSL connections. Use the `--ssl-mode=REQUIRED` connection string setting to enforce TLS/SSL certificate verification. Pass the local certificate file path to the `--ssl-ca` parameter. Replace values with your actual server name and password.
If you don't need to use the resources that you created in another quickstart or tutorial, you can delete them by running the following command:
239
+
If you don't need to use the resources that you created for this article in another quickstart or tutorial, you can delete them by running the following command:
238
240
239
241
```azurecli-interactive
240
242
az group delete --name myresourcegroup
241
243
```
242
244
243
-
If you want to delete only the server that you created, run the `az mysql server delete` command:
245
+
If you want to delete only the flexible server that you created, run the `az mysql server delete` command:
244
246
245
247
```azurecli-interactive
246
248
az mysql flexible-server delete --resource-group myresourcegroup --name mydemoserver
Azure Database for MySQL flexible server is a managed service that you can use to run, manage, and scale highly available MySQL servers in the cloud. This quickstart shows you how to create an Azure Database for MySQL flexible server instance by using the Azure portal.
17
+
Azure Database for MySQL - Flexible Server is a managed service that you can use to run, manage, and scale highly available MySQL servers in the cloud. This quickstart shows you how to create an Azure Database for MySQL flexible server by using the Azure portal.
18
18
19
19
If you don't have an Azure subscription, create a [free Azure account](https://azure.microsoft.com/free/) before you begin.
20
20
@@ -24,7 +24,7 @@ In the [Azure portal](https://portal.azure.com), enter your credentials to sign
24
24
25
25
## Create an Azure Database for MySQL flexible server
26
26
27
-
You create an Azure Database for MySQL flexible server by using a defined set of [compute and storage resources](./concepts-compute-storage.md). You create the server within an [Azure resource group](../../azure-resource-manager/management/overview.md).
27
+
You create an instance of Azure Database for MySQL - Flexible Server by using a defined set of [compute and storage resources](./concepts-compute-storage.md) to create a flexible server. You create the server within an [Azure resource group](../../azure-resource-manager/management/overview.md).
28
28
29
29
Complete these steps to create an Azure Database for MySQL flexible server:
30
30
@@ -72,16 +72,16 @@ Complete these steps to create an Azure Database for MySQL flexible server:
72
72
> :::image type="content" source="./media/quickstart-create-server-portal/networking.png" alt-text="Screenshot that shows the Networking tab.":::
73
73
>
74
74
75
-
1. Select **Review + create** to review your Azure Database for MySQL - Flexible Server configuration.
75
+
1. Select **Review + create** to review your Azure Database for MySQL flexible server configuration.
76
76
77
77
1. Select **Create** to provision the server. Provisioning might take a few minutes.
78
78
79
-
1. On the toolbar, select **Notifications** (the bell icon) to monitor the deployment process. When deployment is finished, you can select **Pin to dashboard** to create a tile for the Azure Database for MySQL flexible server on your Azure portal dashboard. This tile is a shortcut to the server's **Overview** pane. When you select **Go to resource**, the flexible server's **Overview** pane opens.
79
+
1. On the toolbar, select **Notifications** (the bell icon) to monitor the deployment process. When deployment is finished, you can select **Pin to dashboard** to create a tile for the Azure Database for MySQL flexible server on your Azure portal dashboard. This tile is a shortcut to the server's **Overview** pane. When you select **Go to resource**, the **Overview** pane for the flexible server opens.
80
80
81
81
By default, these databases are created under your server: **information_schema**, **mysql**, **performance_schema**, and **sys**.
82
82
83
83
> [!NOTE]
84
-
> To avoid connectivity problems, check whether your network allows outbound traffic by using port 3306, the port that Azure Database for MySQL - Flexible Server uses.
84
+
> To avoid connectivity problems, check whether your network allows outbound traffic through port 3306, the port that Azure Database for MySQL - Flexible Server uses.
85
85
86
86
## Connect to the server
87
87
@@ -102,7 +102,7 @@ After you select **Connect**, you can see details about how to connect locally b
102
102
103
103
## Clean up resources
104
104
105
-
When you no longer need the resources that you created to use in this quickstart, you can delete the resource group that has the Azure Database for MySQL - Flexible Server instance. Select the resource group for the Azure Database for MySQL - Flexible Server resource, and then select **Delete**. Enter the name of the resource group that you want to delete.
105
+
When you no longer need the resources that you created to use in this quickstart, you can delete the resource group that contains the Azure Database for MySQL - Flexible Server instance. Select the resource group for the Azure Database for MySQL - Flexible Server resource, and then select **Delete**. Enter the name of the resource group that you want to delete.
0 commit comments