[root@centos199 mysql]# mysqldump -uroot -ppassword cz-office > mysql38.sqlWarning: Using a password on the command line interface can be insecure.
在你的my.cnf加上:[mysqldump]user=xxxpassword=xxxxxx
备份语句把-u和-p删了就行
这不是报错 是个警告 说明把密码明文写出来不安全 不影响备份恢复
关于TWT使用指南社区专家合作厂商入驻社区企业招聘投诉建议版权与免责声明联系我们 © 2024talkwithtrend — talk with trend,talk with technologist京ICP备09031017号-30