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.
Instance Management
Section titled “Instance Management”Each MySQL/MariaDB instance runs as an isolated Docker container. You can manage multiple instances simultaneously.
Creating an Instance
Section titled “Creating an Instance”- Navigate to Databases and click Create Instance.
- Select the engine: MySQL or MariaDB.
- Configure the instance name and root password.
- Optionally select a preset (Development or Production).
- Click Create to spin up the container.
Instance Operations
Section titled “Instance Operations”| Action | Description |
|---|---|
| Start | Boot the container and accept connections |
| Stop | Gracefully shut down the instance |
| Delete | Remove the container and all associated data |
Deleting an instance is irreversible. Back up your databases before deleting.
Connection Info
Section titled “Connection Info”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/dbnamefor application configs - Environment variable —
DATABASE_URL=...for.envfiles - Docker internal address — for services running in the same Docker network
Database Operations
Section titled “Database Operations”Creating a Database
Section titled “Creating a Database”- Open your MySQL/MariaDB instance.
- Go to the Databases tab and click Create Database.
- Enter a database name.
- Select character set (default:
utf8mb4) and collation. - Click Create.
Dropping a Database
Section titled “Dropping a Database”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.
User Management
Section titled “User Management”Creating a User
Section titled “Creating a User”- Go to the Users tab and click Create User.
- Set the username and password.
- Click Create.
Granting Database Access
Section titled “Granting Database Access”After creating a user, grant them access to one or more databases:
- Select the user from the list.
- Choose the target database(s).
- Click Grant Access.
Dropping a User
Section titled “Dropping a User”Select a user and click Drop to remove them and revoke all associated privileges.
Query Console
Section titled “Query Console”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, andEXPLAINstatements are allowed.The query console works across all MySQL and MariaDB instances managed by Web.Casa.
Advanced Configuration
Section titled “Advanced Configuration”Fine-tune instance performance through the Settings tab. You can also apply a Development or Production preset as a starting point.
| Parameter | Description | Default (Dev) |
|---|---|---|
| InnoDB Buffer Pool Size | Memory allocated to InnoDB caching | 128 MB |
| Max Connections | Maximum simultaneous client connections | 50 |
| Character Set | Default character set for new databases | utf8mb4 |
| Collation | Default collation for string comparisons | utf8mb4_unicode_ci |
| Slow Query Log | Log queries exceeding a time threshold | Enabled |
Production preset increases buffer pool size and max connections for higher throughput. Development preset uses conservative resource limits suitable for local work.