mysql遠程連接權限grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option語句報錯
記錄一下自己安裝mysql遇到的小坑
grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option
只適用于mysql8.0之前的版本
之后采用這句:
create user root@'%' identified by '123456';grant all privileges on *.* to root@'%' with grant option;