Mysql開啟本地遠端連結

FinnYY發表於2024-03-23

grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;

解釋: grant [許可權] on [database.table] to [使用者名稱]@[IP] identified by [密碼];

flush privileges; //重新整理許可權

select host,user from user;

相關文章