Member-only story
Python HOW: Setting up an Azure MySql Server
3 min readNov 8, 2022
Learn how to create an Azure MySQL server and to interact with it using your local Python environment 🕵️

1 Create 🔨
- Sign into the Azure portal
- Select
+ Create a resource
in the portal - Search for
Azure Database for MySQL Flexible Server
👉Create
- Fill in the new server details as below 👉
Create
Basics

Networking ☎️
- Enable Public access so you can connect remotely over allowed IP addresses
- Allow access from other Azure services (e.g., Azure Web App Services)
- Add your current IP address so you can connect remotely from your local machine

2 Configure
Once the server is provisioned, 👉 Go to resource
where you can download the SSL certificate and copy the connection’s details