给Mysql添加远程访问权限的方法
程序员文章站
2024-03-01 17:36:40
user:myuser pwd:mypassword 从任何主机连接到mysql服务器
grant all privileges on *.* to ide...
user:myuser pwd:mypassword 从任何主机连接到mysql服务器
grant all privileges on *.* to identified by 'mypassword' with grant option;
user:myuser pwd:mypassword 从192.168.1.3连接到mysql服务器
grant all privileges on *.* to identified by 'mypassword' with grant option;