-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Azure MySQL Server to Flexible Server (#3892)
* Initial Commit * Update SQL SKU variables * add in sql_sku to template * "updateable": true * ignore zone * update to azurerm_mysql_flexible_database * add password * update sku list * update user login details for mysql * update changelog * doc updates and version updates * resolving comments
- Loading branch information
Tim Allen
authored
Apr 3, 2024
1 parent
ddddbf6
commit 8cd68b5
Showing
24 changed files
with
193 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# MySQL Workspace Service | ||
|
||
See: [MySQL Azure](https://learn.microsoft.com/en-GB/azure/mysql/) | ||
|
||
## Prerequisites | ||
|
||
- [A base workspace deployed](../workspaces/base.md) | ||
|
||
- The MySQL workspace service container image needs building and pushing: | ||
|
||
`make workspace_service_bundle BUNDLE=mysql` | ||
|
||
## Authenticating to MySQL | ||
|
||
1. Navigate to the MySQL workspace service using the `Mysql fqdn` from the details tab. | ||
2. Using the Password found in Key Vault and the Username `mysqladmin` | ||
3. Connect to the MySQL server on a VM with the following command shown below | ||
`mysql -h [fqdn] -u [username] -p [password]` | ||
|
||
## Upgrading to version 1.0.0 | ||
|
||
Migrating existing MySQL services to the major version 1.0.0 is not currently supported. This is due to the breaking change in the Terraform to migrate from the deprecated mysql_server to the new mysql_flexible_server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,12 @@ | |
"source": { | ||
"env": "ARM_ENVIRONMENT" | ||
} | ||
}, | ||
{ | ||
"name": "sql_sku", | ||
"source": { | ||
"env": "SQL_SKU" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,7 @@ variable "acr_name" { | |
variable "arm_environment" { | ||
type = string | ||
} | ||
|
||
variable "sql_sku" { | ||
type = string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,6 +63,12 @@ | |
"source": { | ||
"env": "ARM_ENVIRONMENT" | ||
} | ||
}, | ||
{ | ||
"name": "sql_sku", | ||
"source": { | ||
"env": "SQL_SKU" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.