Deploy MySQL on Microsoft Azure Cobalt 100 processors
Who is this for?
This is an introductory topic for developers migrating MySQL applications from x86_64 to Arm.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Provision an Azure Arm64 virtual machine (VM) using the console, with Ubuntu Pro 24.04 LTS as the base image.
- Deploy MySQL on the Ubuntu VM.
- Perform MySQL baseline testing and benchmarking on Arm64 VMs.
Prerequisites
Before starting, you will need the following:
- A Microsoft Azure account with access to Cobalt 100 based instances (Dpsv6)
- Familiarity with relational databases and the basics of MySQL
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll deploy MySQL on an Arm64 Azure virtual machine powered by Cobalt 100, and establish a performance baseline. First, you’ll provision an Ubuntu Pro 24.04 LTS Dpsv6 VM in the Azure portal, then install, secure, and validate MySQL. After creating sample data, you’ll use
mysqlslap to run read and write benchmarks. You’ll interpret the reported timings and capture results that you can use in later comparisons.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Use a general-purpose Dpsv6 series instance based on Azure Cobalt 100, and choose Ubuntu Pro 24.04 LTS as the base image.
Use the private SSH key that you downloaded when you created the VM, along with the administrator username and the VM’s public IP address.
Start MySQL and enable it to start on boot using the provided
systemctl commands. Then, perform the functional validation to confirm queries run and users can authenticate.The interactive script helps you set a strong root password and remove anonymous users. It also helps disable remote root access, remove test databases, and reload the privilege tables.
Connect to MySQL and create the sample database and table before benchmarking.
mysqlslap simulates multiple clients and reports timing statistics that you can use as your baseline.