EthioDeploy
DocsPricingDomainsBlogToolsChangelog
Free MySQL hosting

Free MySQL, with your PHP app, no card.

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.

Get started free

Last updated November 27, 2026

FREE PLAN
$0

What free MySQL hosting includes

  • MySQL 8.4A managed MySQL with 512 MB of storage, 512 MB of memory and half a CPU of its own.
  • Your PHP app tooPHP on the official image with nginx and PHP-FPM, deployed from GitHub on every push.
  • Daily backupsA backup every 24 hours, the last two kept, plus one manual backup you can restore.
  • Import a dumpUpload a mysqldump or phpMyAdmin export, .sql or .sql.gz, up to 500 MB.
  • SQL in the browserRun queries and migrations from the dashboard. No phpMyAdmin to install.
  • No cardSign in with GitHub. Nothing to cancel later.

Connect PHP to MySQL

  1. Sign in with GitHub and create a project from a repo with a composer.json, or just an index.php.
  2. On the Addons tab, add MySQL. Its connection string is set on the app as DATABASE_URL.
  3. Read it with PDO. pdo_mysql is installed by default:
<?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.

The honest part

Limits

No outside access yet

Only your app and the dashboard can reach MySQL. Postgres already has external access.

Sleep

The app sleeps after 30 minutes without traffic, and its database stops with it. Both start on the next request.

One project

One app and its database on the Free plan. No custom domain.

Files on disk

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 Pro

Where free MySQL went

Two of the best-known free MySQL options are gone, and classic free PHP hosting suspends busy accounts.

HostFree MySQLHow you deploy
EthioDeployMySQL 8.4, 512 MB, daily backupsDeploy from GitHub
000webhostClosed in October 2024n/a
AivenFree MySQL retired for new services in November 2026n/a
InfinityFreeShared hosting; accounts over the daily hit or CPU limits are suspendedFTP 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.

FAQ

Questions

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.

Host PHP and MySQL free.

No card needed.

Get started
EthioDeploy

Agentic first development and deployment, started in Ethiopia, built for developers everywhere.

Telegram community
Product
PricingAI coding agentAgent mode docsDomainsCLIFree backend hostingHosting in EthiopiaChangelog
Deploy guides
Next.jsNode.jsPythonSvelteKitTanStack StartAstroNuxtReact RouterHonoStrapiPayload CMSDjangoFastAPIFlaskStreamlitExpressNestJSLaravelRailsGoSpring BootASP.NET CoreTelegram botDiscord botWhatsApp botLovableBoltReplitv0Google AI StudioBase44Firebase StudioClaude Code & Cursor
Compare
vs Herokuvs Vercelvs Rendervs Railwayvs Fly.iovs Netlifyvs KoyebHeroku alternativesVercel alternativesNetlify alternativesRender alternativesRailway alternativesFly.io alternativesReplit alternativesPythonAnywhere alternativesDigitalOcean App Platform alternativesGlitch alternatives
Resources
DocsBlogFree toolsAboutSupportContactllms.txt
© 2026 EthioDeployPay by card in USD or bank transfer in ETBTermsPrivacy