Mysql 授权远程访问

1、表示从任何主机连接到mysql服务器

GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; // %:

FLUSH   PRIVILEGES;

posted @ 2018-10-13 10:15  StarkSoft  阅读(217)  评论(0编辑  收藏  举报