PanelicaDocs
panelica.com
Docs / Databases / MySQL Databases

MySQL Databases

Panelica 1.0.375 Verified 2026-07-23 Databases

The Databases page manages the server's MySQL databases end to end: create a database with its own user in one dialog, watch sizes and connections live, back up, optimize and repair per database, and jump into phpMyAdmin. A drift detector even spots databases created outside the panel and lets you adopt them.

Panel locationDatabases → MySQL Databaseshttps://YOUR-SERVER-IP:8443/databases/mysql
 MySQL Databases
Databases
12
Tables
348
Connections
7 / 150
Total Size
2.4 GB
DatabaseDomainUserSizeTablesActions
example_wp
utf8mb4
example.comexample_wp412 MB18connect · backup · optimize · delete

Creating a database

Pick a domain first; the database name and user then build under the domain's prefix (the domain's first label, dashes turned to underscores, so example.com gives example_). The user name mirrors the database name as you type until you edit it yourself, and a generator produces a strong 16-character password. Every database is created as utf8mb4 / utf8mb4_unicode_ci, today's correct default for full Unicode including emoji.

After creation the Connection String Wizard opens automatically with ready-to-paste configuration for WordPress, Laravel, Django, Node.js and raw PHP PDO, including the server's MySQL socket path, each downloadable as the framework's config file. Passwords are never echoed into these snippets; you paste your own.

Behind the scenes: the panel creates the database, then a dedicated MySQL user with a deliberately scoped grant: SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, INDEX and the rest of the everyday set, but never DROP, so a leaked website credential cannot drop its own database. If any step fails, the already-created pieces are rolled back. Creation refuses to touch a database or user that already exists in MySQL (no silent adoption of foreign objects), enforces the hosting plan's database quota across all the owner's domains, and fires a webhook event. Sizes in the table come from information_schema in one batched, cached query, and per-database stats runs ANALYZE TABLE first so numbers are honest right after big imports.

Per-database operations

Connection reopens the wizard. Change Password rotates the database user's password. Backup dumps the database to a compressed file on the server (shown with its full path) and offers an immediate download; the dump runs with --single-transaction, so InnoDB tables are backed up consistently without locking the live site. Optimize and Repair run table by table and report OK/failed per table. The per-row phpMyAdmin button opens phpMyAdmin with the database preselected. Delete is the dangerous one: it drops the database, its user and all data, and demands typing DELETE to proceed.

Server picture in one click: the Server Info panel (top right) shows the MySQL version, uptime, socket path, port, max connections and data directory, and the header cards track totals and live connections against the server's real limit.

The drift detector

ROOT and ADMIN see an extra card whenever reality and the panel disagree: databases that exist in MySQL but not in the panel (created by hand, by a migrated app, or by a colleague over SSH), and panel records whose database has vanished. Orphans can be adopted: pick the owning domain, and the panel registers the database, reusing the existing MySQL user when it can detect one (so wp-config.php keeps working), or minting a fresh user whose password is shown exactly once. Orphan deletion requires typing the database's exact name; system databases are refused outright.

phpMyAdmin

The big phpMyAdmin button opens the bundled phpMyAdmin. For ROOT it signs in automatically through a single-use, five-minute SSO token; other roles land on phpMyAdmin's login page and sign in with a database user. The SQL-file upload limit inside phpMyAdmin is adjustable from the MySQL Tuner page.

Access

Behind the databases license feature, with granular permission keys per operation (view, create, delete, backup, download, optimize, repair, phpMyAdmin, connection info) and drift operations gated separately for admins. Visibility follows the roles and permissions chain (users their own databases, resellers their customers', admins their chain, ROOT all), and drift operations are administrator-only. Everything is mirrored on the External API under databases:* scopes. This page manages MySQL; the panel's own PostgreSQL runs the panel itself and is not offered for customer databases here.

Panelica Documentation · Written and verified against the live panel. · Last verified 2026-07-23 on Panelica 1.0.375