0
我有兩個我想運行diff的mysql數據庫,我想連接的用戶(root)有一個密碼。
當我使用mysqldiff文檔here中給出的命令:如何在數據庫用戶需要密碼時使用mysqldiff?
mysqldiff [email protected] [email protected] --difftype=sql old_db:db_brand_new
我得到一個錯誤,說我的命令是未經授權的。 我已經嘗試了正常的-p
開關的變化,但它不起作用。
如何驗證mysqldiff
命令?
yes that worked !, thanks –
這將密碼存儲在shell命令歷史記錄中。這不好。 –