mysql -h localhost -u root -p 登录以后 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'test' WITH GRANT OPTION; FLUSH PRIVILEGES