Articles in this section

Is it possible to move databases location in Plesk for Linux?

kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux

Question

  • How to move the default location of MySQL data on a Plesk for Linux server?
  • Is it possible to move the main MariaDB data directory on a Plesk for Linux server elsewhere?

Answer

On Plesk for Linux, both website databases and Plesk databases are using the same database server, due to which changing the location for the MySQL server is not officially supported.

It is however possible to mount a partition from a new disk to the default MySQL data directory location /var/lib/mysql/. Actions tied to partition mounting are considered an administrative task that should be performed on the side of the server administrator.

Note: You may consider contacting the Professional Services Team in order to receive assistance with such an administrative task on a paid basis.

Additional information

How to change default MySQL/MariaDB directory %plesk_dir%\Databases\MySQL\data to another one on Plesk for Windows?

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.