EthioDeploy's Free plan runs a MySQL 8.4 database next to your app, with daily backups and a SQL editor in the browser. Push a PHP, Laravel, Node.js or Python app to GitHub and it connects through DATABASE_URL. Here is what you get and where it runs out.
Last updated
DATABASE_URL.<?php
$db = parse_url(getenv('DATABASE_URL'));
$pdo = new PDO(
sprintf('mysql:host=%s;port=%d;dbname=%s;charset=utf8mb4',
$db['host'], $db['port'], ltrim($db['path'], '/')),
$db['user'],
$db['pass'],
[PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
);Older code that uses mysqli needs that extension: add "ext-mysqli": "*" to require in composer.json and it's installed on the next deploy. For Laravel, set DB_CONNECTION=mysql and point the connection's url at DATABASE_URL, as the Laravel guide shows. To move an existing site, export it with mysqldump or phpMyAdmin and use Import a SQL file.
Only your app and the dashboard can reach MySQL. Postgres already has external access.
The app sleeps after 30 minutes without traffic, and its database stops with it. Both start on the next request.
One app and its database on the Free plan. No custom domain.
Wiped on every deploy. Keep uploads in the database or object storage, not in the app folder.
For a site that has to stay up, Pro is $10 or 1,399 ETB a month: always on, your own domain, and a 5 GB database.
See ProTwo of the best-known free MySQL options are gone, and classic free PHP hosting suspends busy accounts.
| Host | Free MySQL | How you deploy |
|---|---|---|
| EthioDeploy | MySQL 8.4, 512 MB, daily backups | Deploy from GitHub |
| 000webhost | Closed in October 2024 | n/a |
| Aiven | Free MySQL retired for new services in November 2026 | n/a |
| InfinityFree | Shared hosting; accounts over the daily hit or CPU limits are suspended | FTP or file manager upload |
Checked on November 27, 2026: Hostinger on 000webhost's closure, Aiven free MySQL, InfinityFree review (WebsitePlanet). Prefer Postgres? See free Postgres hosting.
EthioDeploy's Free plan includes a managed MySQL 8.4 database with 512 MB of storage, next to one app deployed from GitHub, with no credit card. It suits a PHP, Laravel, Node.js or Python app that needs MySQL.
Yes. A repo with composer.json or just an index.php is built on the official PHP image with nginx and PHP-FPM, and the MySQL addon's connection string is set as DATABASE_URL. pdo_mysql is installed by default.
Not yet. MySQL addons are reachable from your app on EthioDeploy, and from the browser-based SQL editor in the dashboard. External access is available for Postgres today. To bring data in, import a .sql or .sql.gz file up to 500 MB from the Database tab.
000webhost closed in October 2024. Aiven retired its free MySQL tier for new services in November 2026. If you're moving off either, export with mysqldump or phpMyAdmin and import the file into the MySQL addon.
Yes, once a day, and the last two backups are kept, plus one manual backup you can take and restore from the Database tab.
No. It keeps its data for as long as the project exists. It stops while its app sleeps and starts again with it.