1. 程式人生 > >mysql 備份報錯mysqldump: [Warning] Using a password on the command line interface can be insecure.

mysql 備份報錯mysqldump: [Warning] Using a password on the command line interface can be insecure.

用戶名 mysql mysql 備份 bsp 目錄 comm line 添加 --

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

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

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

mysql 備份報錯mysqldump: [Warning] Using a password on the command line interface can be insecure.