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
+6-6Lines changed: 6 additions & 6 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
-
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.
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, create an *azuredeploy.json* file that has the following code examples. If necessary, update the default value for `firewallRules`.
30
30
31
31
```json
32
32
{
@@ -73,7 +73,7 @@ To create an Azure Database for MySQL flexible server instance by using the publ
73
73
"MemoryOptimized"
74
74
],
75
75
"metadata": {
76
-
"description": "The tier of the specific SKU. High vailability is available only for GeneralPurpose and MemoryOptimized SKUs."
76
+
"description": "The tier of the specific SKU. High availability is available only for GeneralPurpose and MemoryOptimized SKUs."
77
77
}
78
78
},
79
79
"version": {
@@ -91,7 +91,7 @@ To create an Azure Database for MySQL flexible server instance by using the publ
91
91
"type": "string",
92
92
"defaultValue": "1",
93
93
"metadata": {
94
-
"description": "Availability zone information of the server. (If you don't have a preference, leave leave blank.)"
94
+
"description": "The availability zone information of the server. (If you don't have a preference, leave this setting blank.)"
95
95
}
96
96
},
97
97
"haEnabled": {
@@ -103,7 +103,7 @@ To create an Azure Database for MySQL flexible server instance by using the publ
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."
- For a step-by-step tutorial that guides you through the process of creating an ARM template, see [Tutorial: Create and deploy your first ARM template](../../azure-resource-manager/templates/template-tutorial-create-first-template.md).
549
-
- For a step-by-step tutorial 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).
549
+
- For a step-by-step tutorial that demonstrates 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).
Modify the following code samples to create a *main.bicep* file and a *CreateFirewallRules.bicep* file. Use the files to create an Azure Database for MySQL flexible server that has public access and to create a database on the server. You might need to modify the `firewallRules`default value.
29
+
Modify the following code examples to create a *main.bicep* file and a *CreateFirewallRules.bicep* file. Use the files to create an Azure Database for MySQL flexible server that has public access and to create a database on the server. You might need to modify the default value of `firewallRules`.
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/quickstart-create-server-cli.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,9 +66,9 @@ The server that's created has the following attributes:
66
66
- The default connectivity method is **Private access (VNet Integration)**, with an autogenerated virtual network and subnet.
67
67
68
68
> [!NOTE]
69
-
> The connectivity method can't be changed after you create the server. For example, if you selected **Private access (VNet Integration)** when you created the server, you can't change the setting to **Public access (allowed IP addresses)** after deployment. We highly recommend that you create a server that has private access to securely access your server by using virtual network integration. For more information about private access, see the [networking concepts](./concepts-networking.md) article.
69
+
> The connectivity method can't be changed after you create the server. For example, if you selected **Private access (VNet Integration)** when you created the server, you can't change the setting to **Public access (allowed IP addresses)** after deployment. We highly recommend that you create a server that has private access to securely access your server by using virtual network integration. For more information about private access, see the article about [networking concepts](./concepts-networking.md).
70
70
71
-
If you want to change any defaults, see the Azure CLI [reference documentation](/cli/azure/mysql/flexible-server) for the complete list of configurable CLI parameters.
71
+
If you want to change any defaults, see the Azure CLI [reference documentation](/cli/azure/mysql/flexible-server) for the complete list of configurable Azure CLI parameters.
72
72
73
73
Here's sample output:
74
74
@@ -77,9 +77,9 @@ Creating Resource Group 'groupXXXXXXXXXX'...
77
77
Creating new vnet "serverXXXXXXXXXVNET" in resource group "groupXXXXXXXXXX"...
78
78
Creating new subnet "serverXXXXXXXXXSubnet" in resource group "groupXXXXXXXXXX" and delegating it to "Microsoft.DBforMySQL/flexibleServers"...
79
79
Creating MySQL Server 'serverXXXXXXXXX' in group 'groupXXXXXXXXXX'...
80
-
Your server 'serverXXXXXXXXX' is using sku 'Standard_B1ms' (Paid Tier). Please refer to https://aka.ms/mysql-pricing for pricing details
80
+
Your server 'serverXXXXXXXXX' is using SKU 'Standard_B1ms' (Paid Tier). For pricing details, see https://aka.ms/mysql-pricing.
81
81
Creating MySQL database 'flexibleserverdb'...
82
-
Make a note of your password. If you forget, you would have to reset your password with 'az mysql flexible-server update -n serverXXXXXXXXX -g groupXXXXXXXXXX -p <new-password>'.
82
+
Make a note of your password. If you forget your password, reset the password by running 'az mysql flexible-server update -n serverXXXXXXXXX -g groupXXXXXXXXXX -p <new-password>'.
@@ -95,7 +95,7 @@ Make a note of your password. If you forget, you would have to reset your passwo
95
95
}
96
96
```
97
97
98
-
If you want to change any defaults, see the Azure CLI [reference documentation](/cli/azure/mysql/flexible-server) for the complete list of configurable CLI parameters.
98
+
If you want to change any defaults, see the Azure CLI [reference documentation](/cli/azure/mysql/flexible-server) for the complete list of configurable Azure CLI parameters.
99
99
100
100
## Create a database
101
101
@@ -179,7 +179,7 @@ If the connection fails, try these solutions:
179
179
- Verify that you configured a firewall rule for your client machine.
180
180
- Ensure that your client machine is in the same virtual network as the server if you configured your server for private access in a virtual network.
181
181
182
-
To run a single query, use the`--querytext` argument (`-q`).
182
+
To run a single query, use the`--querytext` argument (`-q`):
183
183
184
184
```azurecli-interactive
185
185
az mysql flexible-server connect -n <server-name> -u <username> -p "<password>" -d <database-name> --querytext "<query text>"
@@ -191,15 +191,15 @@ Here's an example:
191
191
az mysql flexible-server connect -n mysqldemoserver1 -u dbuser -p "dbpassword" -d newdatabase -q "select * from table1;" --output table
192
192
```
193
193
194
-
To learn more about using `az mysql flexible-server connect`, see the [Azure CLI connect and query](connect-azure-cli.md) article.
194
+
To learn more about using `az mysql flexible-server connect`, see [Azure CLI connect and query](connect-azure-cli.md).
195
195
196
196
## Connect by using the MySQL command-line client
197
197
198
198
If you created your Azure Database for MySQL flexible server by using private access with virtual network integration, connect to your server from a resource that's in the same virtual network as your server. You can create a virtual machine and add it to the virtual network that was created when you created your Azure Database for MySQL - Flexible Server instance. To learn more, see [Configure private access](how-to-manage-virtual-network-portal.md).
199
199
200
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).
201
201
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).
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 by using 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 by using encrypted connections or disabling SSL, see [Connect to Azure Database for MySQL - Flexible Server by using encrypted connections](how-to-connect-tls-ssl.md).
203
203
204
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.
> When you connect to your Azure Database for MySQL flexible server by using Cloud Shell, use the `--ssl=true` parameter. Do not use `--ssl-mode=REQUIRED`.
230
230
>
231
-
> The primary reason that this guidance is important is that Azure Cloud Shell comes with a preinstalled*mysql.exe* client from the MariaDB distribution. The *mysql.exe* client requires the `--ssl` parameter. The MySQL client from the Oracle distribution requires the `--ssl-mode` parameter.
231
+
> The primary reason that this guidance is important is that Azure Cloud Shell is preinstalled with the*mysql.exe* client from the MariaDB distribution. The *mysql.exe* client requires the `--ssl` parameter. The MySQL client from the Oracle distribution requires the `--ssl-mode` parameter.
232
232
>
233
-
> If you see the following error message when you connect to your Azure Database for MySQL flexible server, either you didn't select the **Allow public access from any Azure service within Azure to this server** checkbox when you set up your firewall rules, or the option isn't saved. Try again to set the firewall rules, and then try again.
233
+
> If you see the following error message when you connect to your Azure Database for MySQL flexible server, either you didn't select the **Allow public access from any Azure service within Azure to this server** checkbox when you set up your firewall rules, or the option isn't saved. Set the firewall rules, and then try again.
234
234
>
235
235
> `ERROR 2002 (HY000): Can't connect to MySQL server on <servername> (115)`
236
236
@@ -242,7 +242,7 @@ If you don't need to use the resources that you created for this article in anot
242
242
az group delete --name myresourcegroup
243
243
```
244
244
245
-
If you want to delete only the flexible 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 this command:
246
246
247
247
```azurecli-interactive
248
248
az mysql flexible-server delete --resource-group myresourcegroup --name mydemoserver
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/quickstart-create-server-portal.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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 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).
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. 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
@@ -64,7 +64,7 @@ Complete these steps to create an Azure Database for MySQL flexible server:
64
64
65
65
When you use public access, access to your server is limited to the allowed IP addresses that you add to a firewall rule. Using this method prevents external applications and tools from connecting to the server and any databases on the server, unless you create a rule to open the firewall for a specific IP address or range of IP addresses. When you select **Create an azuredeploy.json file**, access to your server is limited to your virtual network. For more information about private access, see the [concepts](./concepts-networking.md) article.
66
66
67
-
In this quickstart, you learn how to set public access to connect to the server. On the **Networking tab**, for **Connectivity method**, select **Public access**. To set **Firewall rules**, select **Add current client IP address**.
67
+
In this quickstart, you learn how to set public access to connect to the server. On the **Networking tab**, for **Connectivity method**, select **Public access**. To set firewall rules, select **Add current client IP address**.
68
68
69
69
> [!NOTE]
70
70
> You can't change the connectivity method after you create the server. For example, if you select **Public access (allowed IP addresses)** when you create the server, you can't change the setting to **Private access (VNet Integration)** after the server is deployed. We highly recommend that you create your server to use private access to help secure access to your server via virtual network integration. For more information about private access, see the [concepts](./concepts-networking.md) article.
@@ -96,7 +96,7 @@ After you select **Connect**, you can see details about how to connect locally b
96
96
:::image type="content" source="./media/quickstart-create-server-portal/connect-mysql-flexible-server.png" alt-text="Screenshot that shows the Connect pane.":::
97
97
98
98
> [!IMPORTANT]
99
-
> If you see the following error message when you connect to your Azure Database for MySQL flexible server, either you didn't select the **Allow public access from any Azure service within Azure to this server** checkbox when you set up your firewall rules, or the option isn't saved. Try again to set the firewall rules, and then try again.
99
+
> If you see the following error message when you connect to your Azure Database for MySQL flexible server, either you didn't select the **Allow public access from any Azure service within Azure to this server** checkbox when you set up your firewall rules, or the option isn't saved. Set the firewall rules, and then try again.
100
100
>
101
101
> `ERROR 2002 (HY000): Can't connect to MySQL server on <servername> (115)`
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/whats-new.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -641,11 +641,11 @@ This release of Azure Database for MySQL flexible server includes the following
641
641
642
642
-**MySQL 8.0.21 released**
643
643
644
-
MySQL 8.0.21 is now available in Azure Database for MySQL flexible server in all major [Azure regions](overview.md#azure-regions). Customers can use the Azure portal, the Azure CLI, or Azure Resource Manager templates to provision the MySQL 8.0.21 release. [Learn more](quickstart-create-server-portal.md#create-an-azure-database-for-mysql-flexible-server-instance).
644
+
MySQL 8.0.21 is now available in Azure Database for MySQL flexible server in all major [Azure regions](overview.md#azure-regions). Customers can use the Azure portal, the Azure CLI, or Azure Resource Manager templates to provision the MySQL 8.0.21 release. [Learn more](quickstart-create-server-portal.md#create-an-azure-database-for-mysql-flexible-server).
645
645
646
646
-**Support for Availability zone placement during server creation released**
647
647
648
-
Customers can now specify their preferred Availability zone during server creation. This functionality allows customers to collocate their applications hosted on Azure VM, Virtual Machine Scale Set, or AKS and database in the same Availability zones to minimize database latency and improve performance. [Learn more](quickstart-create-server-portal.md#create-an-azure-database-for-mysql-flexible-server-instance).
648
+
Customers can now specify their preferred Availability zone during server creation. This functionality allows customers to collocate their applications hosted on Azure VM, Virtual Machine Scale Set, or AKS and database in the same Availability zones to minimize database latency and improve performance. [Learn more](quickstart-create-server-portal.md#create-an-azure-database-for-mysql-flexible-server).
649
649
650
650
-**Performance fixes for issues when running Azure Database for MySQL flexible server in virtual network with private access**
Copy file name to clipboardExpand all lines: articles/mysql/includes/azure-database-for-mysql-flexible-server-abstract.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,4 @@ ms.topic: include
6
6
ms.date: 05/24/2022
7
7
---
8
8
9
-
Azure Database for MySQL - Flexible Server is a managed service that you use to run, manage, and scale highly available MySQL databases in the cloud. You can use an Azure Resource Manager template (ARM template) to provision Azure Database for MySQL - Flexible Serve to deploy multiple servers or multiple databases on a server.
9
+
Azure Database for MySQL - Flexible Server is a managed service that you use to run, manage, and scale highly available MySQL databases in the cloud. You can use an Azure Resource Manager template (ARM template) to provision Azure Database for MySQL - Flexible Server to deploy multiple servers or to deploy multiple databases on a server.
0 commit comments