If you search for cheapest mysql database, you will get results on Reddit, where the most common advice is to get a Digital Ocean VPS for $5/mo.
- Cheapest mySQL hosting?
- Which is the cheapest MySQL hosting in cloud?
- Cheap database hosting for hobbyist?
While $5/mo. is kind of cheap, it's not the cheapest. Here are my suggestions:
Aruba a.k.a. Forpsi Cloud
Aruba is a large italian telecommunications company offering the cheapest DBaaS (database as a service) that I know of.
Cheapest: HUF 174.60 = €0.45 + VAT
Average: €0.4850 + VAT
- https://www.arubacloud.com/database-as-a-service/mysql.aspx ← International site; €100 credit for 12 months for new customers; if entering company info make sure it's valid as they may ask for verification
- https://www.forpsicloud.cz/database-as-a-service/database-mysql.aspx
- https://www.arubacloud.fr/database-as-a-service/db-mysql.aspx
- https://www.cloud.it/database-as-a-service/mysql.aspx
- https://www.forpsicloud.sk/database-as-a-service/mysql-data-base.aspx
- https://www.arubacloud.es/database-as-a-service/db-my-sql.aspx
Bit more expensive: 2,2310 zł = €0.49 + VAT
Oracle Cloud free tier
Oracle Cloud free tier includes 2 VPSes. Just use a script (e.g. https://github.com/mehov/debian-automation/tree/master/spanel) to set up the MySQL / MariaDB.
Google Cloud Platform free tier
Same story. You get one free VPS and you can configure it yourself to host a MySQL / MariaDB server.
Scaleway Stardust
A learning VPS from Scaleway. Cheapest with internal IP address only, and a little more expensive with a public IP address. More info: https://www.scaleway.com/en/stardust-instances/