sanctimon wrote: ↑03 Dec 2021, 06:26
Finally, running:
Code: Select all
/usr/local/MariaDB/bin/MariaDB/bin/mysql_upgrade --defaults-file=/usr/local/MariaDB/bin/MariaDB/my.cnf -u root -p
gives:
Code: Select all
Phase 4/7: Running 'mysql_fix_privilege_tables'
ERROR 29 (HY000) at line 167: File '/var/log/mysql/slow.log' not found (Errcode: 2 "No such file or directory")
FATAL ERROR: Upgrade failed
i guess you have modified my.cnf and added these lines on it
Code: Select all
slow_query_log
slow_query_log_file=/var/log/mysql/slow.log
notice that the folder /var/log/mysql is not available by default, so if you want to use this location you have to create the folder or use /var/log/slow.log
can be that after the NAS is rebooted, this folder is removed as it is part of the TOS