导出数据出现问题
mysqldump -uroot -p123456 timophp > timophp.sql
mysqldump: [Warning] Using a password on the command line interface can be insecure.
解决方案
vim /etc/my.cnf
[mysqldump] password=123456
mysqldump -uroot timophp > timophp.sql
mysqldump -uroot -p123456 timophp > timophp.sql
mysqldump: [Warning] Using a password on the command line interface can be insecure.
vim /etc/my.cnf
[mysqldump] password=123456
mysqldump -uroot timophp > timophp.sql
转载于:https://my.oschina.net/tomener/blog/983477