Mysql8解決遠程連接問題

進入D:\Database\MySQL8\bin中 mysql> use mysql; mysql> select user,host from user; mysql> alter user 'root'@'%' identified with mysql_native_password by 'root'; mysql> flush privileges; 此時密碼已經更改爲root,可以使用
相關文章
相關標籤/搜索