解决办法:
1、mysql_config_editor set --login-path=login --host=10.5.10.10 --user=ga -p
2、在home目录下生成.mylogin.cnf
3、mysql_config_editor print --all查看.mylogin.cnf内容
4、mysql --login-path=login db_name即可登录不再报warning
解决办法:
1、mysql_config_editor set --login-path=login --host=10.5.10.10 --user=ga -p
2、在home目录下生成.mylogin.cnf
3、mysql_config_editor print --all查看.mylogin.cnf内容
4、mysql --login-path=login db_name即可登录不再报warning