MySQL & MariaDB
MySQL & MariaDB
VinzaPanel stores website data in a database engine that runs on your server. MariaDB is the default: the first-login setup wizard installs it, together with phpMyAdmin, as a built-in app. You can also add PostgreSQL next to it, and on a server without MariaDB you can use MySQL instead.
Which engines are supported
| Engine | How you get it | Notes |
|---|---|---|
| MariaDB | Installed by the setup wizard (app MariaDB) | Recommended. A protected built-in app: it cannot be uninstalled. |
| MySQL | App MySQL from the Vinza Store | Conflicts with MariaDB — install one or the other, never both. The MySQL app refuses to install where MariaDB already serves the panel's databases. |
| PostgreSQL | App PostgreSQL from the Vinza Store | Can run next to MariaDB or MySQL. Includes phpPgAdmin. |
When you create a database, the panel only offers the engines that are both installed as an app and present on the server. If none is installed, the Databases page shows Database Engine Required with a link to install one.
The MariaDB app
Open Databases → MariaDB in the sidebar (/apps/mariadb/). This page is for administrators and manages the database server itself:
- Overview — Service Control (start, stop, restart and reload) and System Info: service name, version, data directory and data size.
- Databases — every database on the server with its size and table count; create, drop and export (
.sqlor.sql.gz). Table Maintenance runs Check, Analyze, Optimize or Repair on every table of a database withmysqlcheckin the background, so a large database does not time out. Optimize and Repair lock each table while it is processed, and Repair only applies to MyISAM/Aria tables. - Users — create and drop database accounts, change passwords, and Edit Privileges per database with presets (all privileges, read-only, read-write or custom). Applying replaces the account's privileges on that database.
- Configuration — a structured form for common settings plus an advanced editor for the server config file. Save & Restart writes the file and restarts MariaDB.
- Variables — all global variables, with a shortlist of the ones that usually matter. Values set here are runtime only; use the configuration to keep them after a restart.
- Processes — the current process list; kill a connection by id, or several at once.
- Slow Log — turn the slow query log on or off and set
long_query_time(applied at once and written to the config file, no restart), and read the newest slow queries with their duration, rows examined, database and user. - Scheduled Dumps — daily or weekly dumps of a database at a chosen hour, keeping the newest N. They run through the panel's backup scheduler and are stored as
.sql.gzin the database owner's backups (/home/<user>/backups/databases/<database>/), where that account also sees them under Backups.
Configuration changes are server-wide and take effect after the restart. An incorrect value can stop MariaDB from starting, which takes every website that uses a database offline. Change one setting at a time.
The MySQL app offers the same management tabs, including table maintenance and the slow log.
The PostgreSQL app
Open Databases → PostgreSQL (/apps/postgresql/). Besides databases, roles, configuration and activity, it has tabs for Remote access (pg_hba.conf entries with scram-sha-256, listen_addresses, and whether the firewall opens port 5432), Extensions per database, Scheduled dumps through the panel's backup scheduler, and Slow queries from pg_stat_statements. Open phpPgAdmin opens the browser admin tool.
Day-to-day database work
For everyday tasks — creating a database for a website, changing its password, granting privileges, importing or exporting a dump — use Databases in the sidebar (/databases/) instead. That page works for every user, respects ownership and hosting-plan limits, and tracks which website each database belongs to. See Creating & Managing Databases.
To browse tables and run SQL, open phpMyAdmin from a database row (see phpMyAdmin).
Connecting from an application
Applications on the same server connect to localhost: port 3306 for MariaDB/MySQL and 5432 for PostgreSQL. The database detail page shows the host, port, username, password and a ready-made connection string.
On a server with several nodes (Vinza Server), each node runs its own engine. A database is created on the node of its owner's account, and only the engines installed on that node are offered.