Skip to content

MySQL / MariaDB

Web.Casa provides full lifecycle management for MySQL and MariaDB through Docker-based instances. Create, configure, and administer databases entirely from the web panel.

Each MySQL/MariaDB instance runs as an isolated Docker container. You can manage multiple instances simultaneously.

  1. Navigate to Databases and click Create Instance.
  2. Select the engine: MySQL or MariaDB.
  3. Configure the instance name and root password.
  4. Optionally select a preset (Development or Production).
  5. Click Create to spin up the container.
ActionDescription
StartBoot the container and accept connections
StopGracefully shut down the instance
DeleteRemove the container and all associated data

Deleting an instance is irreversible. Back up your databases before deleting.

Each instance provides ready-to-use connection details in multiple formats:

  • CLI command — copy-paste into a terminal to connect immediately
  • Connection URI — mysql://user:password@host:port/dbname for application configs
  • Environment variable — DATABASE_URL=... for .env files
  • Docker internal address — for services running in the same Docker network
  1. Open your MySQL/MariaDB instance.
  2. Go to the Databases tab and click Create Database.
  3. Enter a database name.
  4. Select character set (default: utf8mb4) and collation.
  5. Click Create.

Select a database from the list and click Drop. Confirm the action in the dialog.

Dropping a database permanently deletes all tables and data within it.

  1. Go to the Users tab and click Create User.
  2. Set the username and password.
  3. Click Create.

After creating a user, grant them access to one or more databases:

  1. Select the user from the list.
  2. Choose the target database(s).
  3. Click Grant Access.

Select a user and click Drop to remove them and revoke all associated privileges.

The built-in SQL console lets you execute queries against any instance directly from the browser:

  • Write and run SQL statements with results displayed in a tabular format
  • Switch between instances and databases from a dropdown
  • View query execution time and row counts

The query console is read-only — only SELECT, SHOW, DESCRIBE, and EXPLAIN statements are allowed.

The query console works across all MySQL and MariaDB instances managed by Web.Casa.

Fine-tune instance performance through the Settings tab. You can also apply a Development or Production preset as a starting point.

ParameterDescriptionDefault (Dev)
InnoDB Buffer Pool SizeMemory allocated to InnoDB caching128 MB
Max ConnectionsMaximum simultaneous client connections50
Character SetDefault character set for new databasesutf8mb4
CollationDefault collation for string comparisonsutf8mb4_unicode_ci
Slow Query LogLog queries exceeding a time thresholdEnabled

Production preset increases buffer pool size and max connections for higher throughput. Development preset uses conservative resource limits suitable for local work.