例如:A电脑要连接B电脑的数据库
给予B电脑数据库的访问权限即可:
select host, user from user;
grant all privileges on *.* to root@'%' identified by '密码' with grant option;
flush privileges;
例如:A电脑要连接B电脑的数据库
给予B电脑数据库的访问权限即可:
select host, user from user;
grant all privileges on *.* to root@'%' identified by '密码' with grant option;
flush privileges;