• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

How can I move the mysql datadir?

A

axar

Guest
I run Suse Linux 9.3 with Plesk 8.0.1 on a 1&1 root-server. The mysql datadir is in /var/lib/mysql. Unfortunately, they've made that partition too small for my databases. What would you suggest to do? Should I change the mysql datadir?
I've tried a lot to do that, but it didn't work :(

First I've copied the mysql folder to another place with cp -R -p /var/lib/mysql /srv/mysql

Then I've changed the datadir in /etc/my.cnf and in /etc/init.d/mysql and rebooted, but then Plesk didn't work anymore :(

Please let me know what I have to do to move the datadir to another place.

Thanks,
Andreas
 
verify /etc/psa/psa.conf

Code:
# MYSQL
MYSQL_VAR_D             /var/lib/mysql
MYSQL_BIN_D             /usr/bin
 
Back
Top