错误提示:Warning: Using a password on the command line interface can be insecure.
原因:密码不能出现在命令行中
解决方法:去my.cnf中配置[mysqldump]在下面配置user和password
参考博客:https://blog.csdn.net/wk1063645973/article/details/49562697