标签:dex lin https use keyword 窗口 prot art query
1 在命令窗口 输入mysql -uroot -p 首先通过cmd进入mysql
2 更改加密方式
mysql>
ALTER
USER
‘root‘
@
‘localhost‘
IDENTIFIED
BY
‘password‘
PASSWORD
EXPIRE NEVER;
Query OK, 0
rows
affected (0.10 sec)
mysql>
ALTER
USER
‘root‘
@
‘localhost‘
IDENTIFIED
WITH
mysql_native_password
BY
‘123‘
;
Query OK, 0
rows
affected (0.35 sec)
mysql> FLUSH
PRIVILEGES
;
Query OK, 0
rows
affected (0.28 sec)
参考文章:https://blog.csdn.net/XDMFC/article/details/80263215
标签:dex lin https use keyword 窗口 prot art query
原文地址:https://www.cnblogs.com/prader6/p/9395117.html