./backup.sh 运行出错

问答中心分类: Linux./backup.sh 运行出错
6293092 asked 5 年 ago
我有两台服务器,其中一台运行备份命令
# ./backup.sh
运行命令提示:mysql: [Warning] Using a password on the command line interface can be insecure.
另一台运行备份命令
# ./backup.sh
提示错误:-bash: ./backup.sh: No such file or directory
这两个错误怎么解决?

1 Answers
oneinstack answered 5 年 ago
mysql: [Warning] Using a password on the command line interface can be insecure. 警告忽略
backup.sh 没找到这个文件 请用绝对路径/root/oneinstack/backup.sh