mysql主从复制,Slave_SQL_Running: No,temporary directory /tmp - Can‘t create/write to file问题解决

Slave_SQL_Running: No
Unable to use slave’s temporary directory /tmp - Can’t create/write to file ‘/tmp/SQL_LOAD-’ (Errcode: 13)
如图:在这里插入图片描述问题分析:异常翻译:无法使用从站的临时目录/ tmp-无法创建/写入文件’/ tmp / SQL_LOAD-’(错误代码:13)。猜测/tmp目录无写权限
执行命令

chmod 777 /tmp

重启slave问题解决

猜你喜欢

转载自blog.csdn.net/weixin_43614067/article/details/108347076