(mysql: [Warning] Using a password on the command line interface can be insecure)

(mysql: [Warning] Using a password on the command line interface can be insecure)

之前直接输入mysql -uroot -ppassword;就可以,但是突然显示错误,大概就是这样输入密码不安全

尝试了更改my.ini配置

在my.ini文件里添加用户名密码,不可以。

突然想到了之前好像遇到过这种问题的讲解

然后翻到了,其实只要输入mysql -uroot -p 按下回车就可以输入密码进入了。注意没有;哦。

(mysql: [Warning] Using a password on the command line interface can be insecure)_第1张图片

你可能感兴趣的:(mysql)