mysql -u root -p
回車喷橙,輸入密碼
use mysql;
select user,host from user;
grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by "密碼";
flush privileges;
mysql -u root -p
回車喷橙,輸入密碼
use mysql;
select user,host from user;
grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by "密碼";
flush privileges;