mysqldump: Got error: 1: Can't create/write to file '/usr/local/mysql/data/bak/t4.txt' (Errcode: 13
来源:互联网 发布:linux top 进程状态 编辑:程序博客网 时间:2024/06/05 22:41
在向目录中导出文件时,有时候会提示下面错误
[root@localhost data]# mysqldump -uroot -p123456 test2 t4 -T ./bak/
Warning: Using a password on the command line interface can be insecure.mysqldump: Got error: 1: Can't create/write to file '/usr/local/mysql/data/bak/t4.txt' (Errcode: 13 - Permission denied) when executing 'SELECT INTO OUTFILE'
报出此错是由于目录没有足够权限导致,只需给目录足够权限即可
[root@localhost data]# chown mysql:mysql ./bak/[root@localhost data]# mysqldump -uroot -p123456 jiaowu tutors -T ./bak/
Warning: Using a password on the command line interface can be insecure.
0 0
- mysqldump: Got error: 1: Can't create/write to file '/usr/local/mysql/data/bak/t4.txt' (Errcode: 13
- mysqldump: Got error: 1: Can't create/write to file '/data/export/test.txt' (Errcode: 13)
- mysqldump: Got error: 1: Can't create/write to file (Errcode: 13
- ERROR 1 (HY000): Can't create/write to file '/test.txt' (Errcode: 13)
- ERROR 1 (HY000): Can't create/write to file '/myload/user6.txt' (Errcode: 13
- Mysql [ERROR] /usr/sbin/mysqld: Can't create/write to file '/xxx/mysqld/mysql.pid' (Errcode: 2) 处理
- ERROR 1 (HY000): Can't create/write to file'/' (Errcode: 13)错误解决
- ERROR 1 (HY000): Can't create/write to file'/' (Errcode: 13)错误解决
- ERROR 1 (HY000): Can't create/write to file'/' (Errcode: 13)错误解决
- mysqldump 备份命令错误 Can't create/write to file '' (Errcode: 13)
- /usr/libexec/mysqld: Can’t create/write to file ‘/tmp/’ (Errcode: 13)
- Mysql ERROR 1 (HY000): Can't create/write to file
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- 解决:CentOS下MySQL执行select ... into outfile ...: Can't create/write to file '...' (Errcode: 13)
- mysql 启动报错 /usr/local/mysql//libexec/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid'
- mysql into outfile ERROR : Can't create/write to file
- LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
- MarkdownPad使用
- linux awk、sed、grep
- 三级联动
- 黑马程序员------反射机制
- mysqldump: Got error: 1: Can't create/write to file '/usr/local/mysql/data/bak/t4.txt' (Errcode: 13
- java ee中web-inf目录中jsp不可以在tomcat server中打开
- 利用OpenSSL进行BASE64的编码与解码
- 用U盘重装win7_64_U系统_非gho版
- 导入maven项目
- 全志A20平台调试IR
- ThreadLocal 设计模式 用于 Hibernate 框架
- Mac 通过终端CD命令快速定位到指定文件夹
- 南阳理工 8 一种排序