How to install another MySQL version in ISPmanager
The main database server is installed with the panel (MariaDB on Ubuntu). If a site needs another version — for example MySQL 8.0 or an old MariaDB 10.x — you can install it alongside. Alternative servers run in Docker.

Install another version
- Install Docker: Software configuration → Docker.
- "Navigation board" → "Database servers" → "Create a server".
- Choose the version in the "Action" list. The list has a search: start typing, for example,
MySQL 8.


- The server name is filled in. Set the root password for the new server.
- Click "Create".

The panel downloads the image and starts the container. It takes a few minutes. The new server appears in the list with its own port, for example 127.0.0.1:3310.

A database on the required version
When creating a database, choose the server in the "Database server" field. Users can do this too.

In the site settings for such a database specify the host with the port: 127.0.0.1:3310 (the port is in the server list). localhost leads to the main server.
Server settings (my.cnf)
Select the server → "Database server settings". The list of parameters: max_connections, innodb_buffer_pool_size, character sets and others. Changed ones are marked "Modified".


Remote access to a database
"Remote access" in the server settings opens connections to MySQL from outside. Then you can set for a database user which addresses it connects from. Open access only for your own IPs — see Firewall.
Moving a database to the main server is a separate guide: Moving a database from Docker.
Move a database from an alternative server to the main one
- Create a new database on the main server.
- Dump the old database: database export.
- Load the dump into the new database: database import.
- In the site config change the host to
localhost, the database name, user and password. - Check the site and delete the old database.
Loading a dump into a container database over SSH as root: docker exec -i mysql-8.0 mysql -uroot -p shop_db < dump.sql.