Home > Archives > mysql 相关问题

mysql 相关问题

Publish:

自定义mysql tmp目录

错误

/usr/sbin/mysqld: Can't create/write to file '/tmp/ibZ9guDH' (Errcode: 13 - Permission denied)

更新临时目录

/etc/my.cnf
[mysqld]
tmpdir=/usr/local/tmp

添加权限

chown root.root /usr/local/tmp -v
chmod 1777 /usr/local/tmp -v

声明: 本文采用 BY-NC-SA 授权。转载请注明转自: Ding Bao Guo