Upgrade your MySQL v5.6 servers with ease and make your end of support planning a bit easier !!!

Published Nov 23 2020 10:33 PM 1,359 Views

Major version upgrades of production databases can be stressful and a significantly time-consuming and costly project if you are dealing with a fleet of database servers to upgrade. You are expected to deal with a daunting list of tasks to plan and execute a seamless upgrade with minimal impact to the business. The tasks are daunting not because they are complex but because the stakes are high. You will need to practice and practice until you get perfection and confidence to execute upgrade of your production environment flawlessly in the acceptable downtime window. Some of these tasks can be automated but generally each environment is a bit different (for e.g. Ubuntu 16 vs Ubuntu 18) and often heavily customized for the application or business it is running. This makes automation of the task a bit challenging. The practice session may involve building production like environment, testing the application for compatibility, simulating the workload, practicing the steps multiple times, and documenting it to ensure all the dependencies or customizations are taken care of. This makes the upgrade process stressful as it involves multiple manual steps and error prone when you are working under pressure towards a tight deadline. We are trying to make this process a bit easy for you with our new major version upgrade feature in Azure Database for MySQL service.

 

With the release of Major Version Upgrades in Azure Database for MySQL, you can now upgrade your MySQL v5.6 servers to MySQL v5.7 with a click of a button.

 

In Azure portal, on the Overview blade, you will now see an Upgrade button for MySQL v5.6 servers that can use to upgrade your existing MySQL servers.

 

upgrade.png

 

You can learn more about how to upgrade using this feature in our documentation.

While this feature doesn’t promise to take all your problems away :smiling_face_with_smiling_eyes: (I wish we had that magic wand) but together with managed service value proposition, it does promise to simplify some of the tasks for you. For instance –

 

  • Simulating a production like environment – This is easy with managed service as you can use point in time restore feature (another turnkey solution) to clone your production environment.
  • Practicing upgrades – With multiple manual steps taken out from your upgrade document and replaced with a single step of a click of a button, this becomes a simplified experience which can be further be automated using Azure CLI.
  • Managing upgrades for a fleet of servers – You can use Azure CLI to automate restore and upgrade operations which can then be used to run across the fleet of servers with ease.
  • No dealing of customized environments – With standardization and restricted access to a managed service, you do not need to worry about customized environment which is often the common causes of failed upgrades as there is heavy customization at the underlying OS and filesystem.

While the above challenges are addressed and simplified with this feature, you can focus your energy on

 

  • Understanding the changes in MySQL 5.7 to drive clarity to your business and development team on what will break or behave differently in MySQL 5.7.
  • Test your application compatibility to ensure it works as intended and the compatibilities are addressed.
  • Estimate and plan for the downtime required for the upgrades and execute the upgrade operation during your planned maintenance window.

Sometimes testing the application compatibility and upgrading the application code is the most challenging task of the upgrade and time/effort consuming too so can we afford to not be under the gun for upgrade timelines.  The answer to that is: Yes.

 

We have updated our retirement policies for Azure Database for MySQL where we have clearly documented the restrictions if you chose to run your servers after retirement date and what you can expect.

 

It is now time for you to plan your upgrades of MySQL v5.6 servers as the end of support is approaching soon on February 5, 2021.

 

Let us know how we can help. Please reach out to us (Mailto: AskAzureDBforMySQL@service.microsoft.com) if you have questions or need clarification.

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1925903%22%20slang%3D%22en-US%22%3EUpgrade%20your%20MySQL%20v5.6%20servers%20with%20ease%20and%20make%20your%20end%20of%20support%20planning%20a%20bit%20easier%20!!!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1925903%22%20slang%3D%22en-US%22%3E%3CP%3EMajor%20version%20upgrades%20of%20production%20databases%20can%20be%20stressful%20and%20a%20significantly%20time-consuming%20and%20costly%20project%20if%20you%20are%20dealing%20with%20a%20fleet%20of%20database%20servers%20to%20upgrade.%20You%20are%20expected%20to%20deal%20with%20a%20daunting%20list%20of%20tasks%20to%20plan%20and%20execute%20a%20seamless%20upgrade%20with%20minimal%20impact%20to%20the%20business.%20The%20tasks%20are%20daunting%20not%20because%20they%20are%20complex%20but%20because%20the%20stakes%20are%20high.%20You%20will%20need%20to%20practice%20and%20practice%20until%20you%20get%20perfection%20and%20confidence%20to%20execute%20upgrade%20of%20your%20production%20environment%20flawlessly%20in%20the%20acceptable%20downtime%20window.%20Some%20of%20these%20tasks%20can%20be%20automated%20but%20generally%20each%20environment%20is%20a%20bit%20different%20(for%20e.g.%20Ubuntu%2016%20vs%20Ubuntu%2018)%20and%20often%20heavily%20customized%20for%20the%20application%20or%20business%20it%20is%20running.%20This%20makes%20automation%20of%20the%20task%20a%20bit%20challenging.%20The%20practice%20session%20may%20involve%20building%20production%20like%20environment%2C%20testing%20the%20application%20for%20compatibility%2C%20simulating%20the%20workload%2C%20practicing%20the%20steps%20multiple%20times%2C%20and%20documenting%20it%20to%20ensure%20all%20the%20dependencies%20or%20customizations%20are%20taken%20care%20of.%20This%20makes%20the%20upgrade%20process%20stressful%20as%20it%20involves%20multiple%20manual%20steps%20and%20error%20prone%20when%20you%20are%20working%20under%20pressure%20towards%20a%20tight%20deadline.%20We%20are%20trying%20to%20make%20this%20process%20a%20bit%20easy%20for%20you%20with%20our%20new%20major%20version%20upgrade%20feature%20in%20Azure%20Database%20for%20MySQL%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3EWith%20the%20release%20of%20Major%20Version%20Upgrades%20in%20Azure%20Database%20for%20MySQL%2C%20you%20can%20now%20upgrade%20your%20MySQL%20v5.6%20servers%20to%20MySQL%20v5.7%20with%20a%20click%20of%20a%20button.%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20Azure%20portal%2C%20on%20the%20Overview%20blade%2C%20you%20will%20now%20see%20an%20Upgrade%20button%20for%20MySQL%20v5.6%20servers%20that%20can%20use%20to%20upgrade%20your%20existing%20MySQL%20servers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22upgrade.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F235729iCD6A130AF2C6D6A3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22upgrade.png%22%20alt%3D%22upgrade.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20learn%20more%20about%20how%20to%20upgrade%20using%20this%20feature%20in%20our%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fhowto-mysql-major-version-upgrades%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EWhile%20this%20feature%20doesn%E2%80%99t%20promise%20to%20take%20all%20your%20problems%20away%20%3Asmiling_face_with_smiling_eyes%3A%20(I%20wish%20we%20had%20that%20magic%20wand)%20but%20together%20with%20managed%20service%20value%20proposition%2C%20it%20does%20promise%20to%20simplify%20some%20of%20the%20tasks%20for%20you.%20For%20instance%20%E2%80%93%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ESimulating%20a%20production%20like%20environment%3C%2FSTRONG%3E%20%E2%80%93%20This%20is%20easy%20with%20managed%20service%20as%20you%20can%20use%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmysql%2Fhowto-restore-server-portal%23point-in-time-restore%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Epoint%20in%20time%20restore%3C%2FA%3E%20feature%20(another%20turnkey%20solution)%20to%20clone%20your%20production%20environment.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EPracticing%20upgrades%20%E2%80%93%20%3C%2FSTRONG%3EWith%20multiple%20manual%20steps%20taken%20out%20from%20your%20upgrade%20document%20and%20replaced%20with%20a%20single%20step%20of%20a%20click%20of%20a%20button%2C%20this%20becomes%20a%20simplified%20experience%20which%20can%20be%20further%20be%20automated%20using%20Azure%20CLI.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EManaging%20upgrades%20for%20a%20fleet%20of%20servers%20%E2%80%93%3C%2FSTRONG%3E%20You%20can%20use%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fcli%2Fazure%2Finstall-azure-cli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20CLI%3C%2FA%3E%20to%20automate%20restore%20and%20upgrade%20operations%20which%20can%20then%20be%20used%20to%20run%20across%20the%20fleet%20of%20servers%20with%20ease.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ENo%20dealing%20of%20customized%20environments%20%E2%80%93%3C%2FSTRONG%3E%20With%20standardization%20and%20restricted%20access%20to%20a%20managed%20service%2C%20you%20do%20not%20need%20to%20worry%20about%20customized%20environment%20which%20is%20often%20the%20common%20causes%20of%20failed%20upgrades%20as%20there%20is%20heavy%20customization%20at%20the%20underlying%20OS%20and%20filesystem.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWhile%20the%20above%20challenges%20are%20addressed%20and%20simplified%20with%20this%20feature%2C%20you%20can%20focus%20your%20energy%20on%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EUnderstanding%20the%20%3CA%20href%3D%22https%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.7%2Fen%2Fupgrading-from-previous-series.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Echanges%20in%20MySQL%205.7%3C%2FA%3E%20to%20drive%20clarity%20to%20your%20business%20and%20development%20team%20on%20what%20will%20break%20or%20behave%20differently%20in%20MySQL%205.7.%3C%2FLI%3E%0A%3CLI%3ETest%20your%20application%20compatibility%20to%20ensure%20it%20works%20as%20intended%20and%20the%20compatibilities%20are%20addressed.%3C%2FLI%3E%0A%3CLI%3EEstimate%20and%20plan%20for%20the%20downtime%20required%20for%20the%20upgrades%20and%20execute%20the%20upgrade%20operation%20during%20your%20planned%20maintenance%20window.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ESometimes%20testing%20the%20application%20compatibility%20and%20upgrading%20the%20application%20code%20is%20the%20most%20challenging%20task%20of%20the%20upgrade%20and%20time%2Feffort%20consuming%20too%20so%20can%20we%20afford%20to%20not%20be%20under%20the%20gun%20for%20upgrade%20timelines.%20%26nbsp%3BThe%20answer%20to%20that%20is%3A%20Yes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20updated%20our%20retirement%20policies%20for%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmysql%2Fconcepts-version-policy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Database%20for%20MySQL%20%3C%2FA%3Ewhere%20we%20have%20clearly%20documented%20the%20restrictions%20if%20you%20chose%20to%20run%20your%20servers%20after%20retirement%20date%20and%20what%20you%20can%20expect.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20is%20now%20time%20for%20you%20to%20plan%20your%20upgrades%20of%20MySQL%20v5.6%20servers%20as%20the%20end%20of%20support%20is%20approaching%20soon%20on%20February%205%2C%202021.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20us%20know%20how%20we%20can%20help.%20Please%20reach%20out%20to%20us%20(Mailto%3A%20%3CA%20href%3D%22mailto%3AAskAzureDBforMySQL%40service.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAskAzureDBforMySQL%40service.microsoft.com%3C%2FA%3E)%20if%20you%20have%20questions%20or%20need%20clarification.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1925903%22%20slang%3D%22en-US%22%3E%3CP%3EMajor%20version%20upgrades%20of%20production%20databases%20can%20be%20stressful%20and%20a%20significantly%20time-consuming%20and%20costly%20project%20if%20you%20are%20dealing%20with%20a%20fleet%20of%20database%20servers%20to%20upgrade.%20You%20are%20expected%20to%20deal%20with%20a%20daunting%20list%20of%20tasks%20to%20plan%20and%20execute%20a%20seamless%20upgrade%20with%20minimal%20impact%20to%20the%20business.%20We%20are%20trying%20to%20make%20this%20process%20a%20bit%20easy%20for%20you%20with%20our%20new%20major%20version%20upgrade%20feature%20in%20Azure%20Database%20for%20MySQL%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22upgrade.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F235726i98E39DAB788925B7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22upgrade.png%22%20alt%3D%22upgrade.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1925903%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EUpgrades%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Nov 23 2020 10:33 PM
Updated by: