Managed MySQL
Serverless MySQL cluster
MySQL on Northflank
MySQL use cases
- eCommerce applications
- Database-driven web applications
Supported MySQL versions
- 8.0.28
MySQL Docker Images
mysql:latest
Pull MySQL Docker Image locally
docker pull mysql
Connect to MySQL locally with Northflank CLI
sudo northflank forward addon --projectId --addonId
MySQL Ports
3306
Using MySQL client to connect to remote MySQL instance
mysql --host=hostname --user=user --password=password database
Platform Teams
Northflank makes it easier for infrastructure and platform teams to focus on levelling up the developer experience for their teams building great apps.
Common MySQL questions among developers and platform teams:
You can access a MySQL database from your machine using the Northflank CLI. To forward a specific database or storage: sudo northflank forward addon --projectId [project-name] --addonId [addon-name]
You can now access the database or storage locally.
When creating an addon, under Networking you can choose “Publicly accessible”. Once the addon is created, you can make the addon publicly accessible from the Settings page. If “Publicly accessible” is selected, your addon will be given a public URL and will be accessible from the internet.
When creating an addon, under Networking you can choose “Deploy with TLS”. Once the addon is created, you can provision SSL and TLS from the Settings page by choosing “Deploy with TLS”. If “Deploy with TLS” is selected, a Let’s Encrypt TLS certificate will be provisioned for your addon, allowing secure communication between the addon and your services/jobs within this project.
When creating an addon, under resources you can choose the compute plan (memory and virtual CPU), storage and replicas. Once the addon is created, under resources you will always be able to change these to adapt to your needs.
On the backups page you can create, import, and delete backups of your MySQL cluster.
You can restore your database from an existing backup from the backups page. This page will display a list of backups and each entry will have a Restore button you can use to restore from that selected backup. The backup will be scheduled and executed shortly.
You can import a backup from multiple sources: URL, file upload, and connection string. When importing from a URL or file upload, Northflank will treat it as clear text, unless the file ends in.gz, then Northflank will attempt to unzip it. When importing from a connection string, it should contain the relevant credentials and parameters. Northflank will create a dump from the source database which you can then restore from.
To fork a MySQL cluster, you can create a backup of an existing MySQL addon from the backups page and create a new addon using this backup.
MySQL on Kubernetes with Northflank
Deploying MySQL onto Kubernetes can be difficult to bootstrap, operate and scale. Your current options may involve manually rolling MySQL Helm charts, YAML, statefulsets, replicasets, services, persistent volumes, ingress, Horizontal Pod Autoscaling (HPAs), Pod Disruption Budgets (PDBs), prometheus metrics, certificates and logging.
Northflank offers a comprehensive stateful workload solution. Run a highly scalable and performant MySQL database in your AWS, GCP and Azure accounts using Kubernetes and Northflank’s platform.
MySQL DBaaS or MySQL in your cloud
Automate your MySQL hosting and management using a real-time UI and developer friendly CLI & API. Deploy, monitor, backup, and scale with Northflank cloud or on your cloud account.