Hello,
I try to change tmp folder of mariadb because I found out that files .MAD are are constantly being created inside tmp folder and despite the fact that I increased the tmp folder from the beginning of the installation of cpanel to 15GB are filling the space with results operational problems of cpanel.
The tutorials I found on the internet are to create in /home directory a folder for example called mysqltmp to chown mysql:mysql and chmod 1777. Then add parameter to my.cnf like tmpdir=/home/mysqltmp. But after restart mariadb is not starting and exiting with error.
Regards
I try to change tmp folder of mariadb because I found out that files .MAD are are constantly being created inside tmp folder and despite the fact that I increased the tmp folder from the beginning of the installation of cpanel to 15GB are filling the space with results operational problems of cpanel.
The tutorials I found on the internet are to create in /home directory a folder for example called mysqltmp to chown mysql:mysql and chmod 1777. Then add parameter to my.cnf like tmpdir=/home/mysqltmp. But after restart mariadb is not starting and exiting with error.
Am I doing something wrong?Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
Regards