Home >Database >Mysql Tutorial >crond-centos6.5 定时备份mysql 导出mysql数据大小为0

crond-centos6.5 定时备份mysql 导出mysql数据大小为0

WBOY
WBOYOriginal
2016-06-06 09:43:591034browse

mysqlcrondmysqldump

centos定时任务 执行mysql数据备份
在/home/www/shell/ 写了个shell脚本 加入执行权限
定时执行的时候 到处的sql文件大小为0 且没有错误log输出
如果单独执行./xxx.sh 导出的sql正常
问题蛮怪 不知道有没有碰到的

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn