1、表示从任何主机连接到mysql服务器
GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; // %:
FLUSH PRIVILEGES;