Skip to main content
Hostwares

Where can you host a managed MySQL database?

On a database pack: choose MySQL or MariaDB and a size, and the host, port, user and password are shown as soon as it is running. It accepts connections from your app wherever that runs, so it suits a Laravel or WordPress backend, a Node API, or an app that outgrew the database bundled with shared hosting. The pack is a fixed amount of CPU, memory and disk for one monthly price, with nothing billed per query or per connection.

Step by step

  1. 1

    Create the database

    Dashboard → Databases → New: choose MySQL or MariaDB, a pack and a name. The order creates an invoice and the database starts once it is paid.

    From an agent over MCP

    create_database  →  price + approval link, then get_database_status until it is running
  2. 2

    Read the connection details

    The database page lists host, port, database name, user and password, plus a connection URL. Agents read them with db_connection_info.

  3. 3

    Point your app at it

    For Laravel set DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME and DB_PASSWORD; for most other frameworks set DATABASE_URL. On Hostwares these go on the site's Environment tab.

  4. 4

    Import your data

    Export the old database with mysqldump and pipe the file into the new one with the mysql client.

    Export and import

    mysqldump --single-transaction -h OLD_HOST -u OLD_USER -p OLD_DB > app.sql
    mysql -h NEW_HOST -P NEW_PORT -u NEW_USER -p NEW_DB < app.sql

What it costs

  • A database pack from $10/mo, flat for the term.
  • Nothing metered: no per-query, per-connection or transfer charge.

App

$1/mo

Starter Frontend pack, 1 vCPU / 1 GB RAM / 10 GB

Database, users and files

$5/mo

Smallest dedicated Supabase pack; several projects fit on one

Questions

MySQL or MariaDB: which should I pick?+

Pick the one your app already runs on. They are close enough that most apps work on either, but a dump moves most cleanly between the same engine.

Can I use phpMyAdmin or a desktop client?+

Yes. Any MySQL client connects with the host, port, user and password from the database page.

Is remote access allowed?+

Yes. The database answers on its public connection details, and a private link is available for apps that run on Hostwares.

Is it shared?+

No. Each pack is one database server with its own resources.

How do I back it up?+

Take a restore point from the Backups tab, and keep your own mysqldump export for anything critical.

What does it cost?+

From $10/mo for the pack.