登陸到mysql後mysql
grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;//password是對應的root密碼sql
flush privileges;ide