// root表示用户名,xxxxx表示密码
1、GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘xxxxxxx’ WITH GRANT OPTION;
// 立即生效
2、flush privileges;
Mysql开放远程访问
Leave a reply
// root表示用户名,xxxxx表示密码
1、GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘xxxxxxx’ WITH GRANT OPTION;
// 立即生效
2、flush privileges;
You must be logged in to post a comment.