mysql: [Warning] Using a password on the command line interface can be insecure
解决方法:
登录重新配置的mysql 使用初始化秘密无法连接到mysql:
提示:Warning: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES)
或者
Enter password:
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
在输入指令:mysql -uroot -p***** 初始化配置mysql密码时提示上边错误
查看官网文献:
官网:https://dev.mysql.com/doc/refman/8.0/en/password-security-user.html
说明如下:
6.1.2.1 End-User Guidelines for Password Security
MySQL users should use the following guidelines to keep passwords secure.
When you run a client program to connect to the MySQL server