时间:2021-07-01 10:21:17 帮助过:220人阅读
因为没有路径也没有权限,所以创建此路径并授权给mysql用户
mkdir /var/log/mariadb
touch /var/log/mariadb/mariadb.log
# 用户组及用户
chown -R mysql:mysql /var/log/mariadb/
/usr/local/mysql/support-files/mysql.server start
启动mysql报错mysqld_safe error: log-error set to '/var/log/mariadb/mariadb.log'
标签:用户 maria files log-error pre cal err touch 报错