mysql 5.6 Warning fix ?

07/19/2014 15:55 mys2005#1
Hi i have install mysql 5.6 on freebsd 9.2 64bit
It was a warning to always writes in putty.

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


How to fix ?
07/21/2014 19:24 mys2005#2
ref
07/21/2014 19:35 PDDS™#3
Quote:
Originally Posted by Stackoverflow
If your MySQL client/server version is a 5.6.x a way to avoid the WARNING message are using the mysql_config_editor tools:

mysql_config_editor set --login-path=local --host=localhost --user=username --password

Then you can use in your shell script:

mysql --login-path=local -e "statement"

instead of:

mysql -u username -p pass -e "statement"
Just spend 30 seconds on google....