解决MySQL5.6出现"Using a password on the command line interface..."

# mysqladmin --defaults-extra-file=/etc/my.cnf -uroot -pabcd123  status|cut -f9 -d":"

Warning: Using a password on the command line interface can be insecure.

 1.448

解决方法:

mysqladmin --defaults-extra-file=/etc/my.cnf status|cut -f9 -d":"

1.448


你可能感兴趣的:(msyql)