当前位置:   article > 正文

mysql备份报错_mysql 备份报错mysqldump: [Warning] Using a password on the command line interface can be insec...

mysql: [warning] using a password on the command line interface can be insec

--------------------------------------------------------------------------------

mysql 备份报错mysqldump: [Warning] Using a password on the command line interface can be insecure.

备份某个表步骤如下

解决办法:修改my.ini配置添加以下语句

[mysqldump]

user=root ----为备份用户名

password=123!@#   ----为用户密码

然后mysqldump  ipos  table > c:\bak.sql   备份Ipos 下的表table  到目录 c:\bak.sql

mysqldump -u root   -p --databases  databasenam2 databasename2 >  all.sql

----------------------------------------------------------------

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/671026
推荐阅读
相关标签
  

闽ICP备14008679号