Releem / mysqlconfigurer

Releem is a simple MySQL tuning tool to improve database performance and reduce servers costs.
https://releem.com
GNU General Public License v3.0
255 stars 27 forks source link

mysqldump issue on the CloudLinux #151

Closed drupaladmin closed 1 year ago

drupaladmin commented 1 year ago

After implementing Releem on the 6 test servers one of our customers is encountering the following error:

--result-file="/home/xxxxxxxx/domains/xxxxxxxxxx/public_html/wp-content/dump.sql](http://xxxxxxxx/public_html/wp-content/dump.sql)" --hex-blob xxxxxxxxx": \amysqldump: Can't read dir of '/etc/mysql/releem.conf.d' (Errcode: 2 "No such file or directory") (Wordmove::ShellCommandError) Fatal error in defaults handling. Program aborted

While using the following script: https://github.com/welaika/wordmove/, do you have a work a round?

drupaladmin commented 1 year ago

Looks like the root cause of this issue is in CageFS.

Please do the following steps to resolve the issue:

  1. In the file /etc/cagefs/conf.d/mysql-client.cfg please add at the end of line with "paths=" the path "/etc/mysql/"
  2. Run cagefsctl --update-etc

Try mysqldump one more time.