!!!!两台机器必须能 ping 通, 并关闭防火墙
本地Mysql做服务器,供其他机器访问
此例子用的数据库名为 high
分配high 下所有的表 最高权限给 ip 为212.194.47.2 下的用户,用户名为 you, 密码为you,
grant all privileges on high.* to 'you'@'212.196.47.2' identified by 'you';
grant all privileges 分配 最高权限(可读,可写)
high.* high 下所有表(若要指定单张表,如 high 下的 demo 表, 则 high.* 应该为 high.demo)
收回权限
revoke all on high.* from 'you'@'212.194.47.2';