直接把 你要给新用户看的表赋权限就好了。
比如 grant select ,update on tab1 to newuser;
grant select ,update on tab2 to newuser;有几张表就执行几条语句。
然后newuser 在查询的时候, select * from olduser.tab1
比如 grant select ,update on tab1 to newuser;
grant select ,update on tab2 to newuser;有几张表就执行几条语句。
然后newuser 在查询的时候, select * from olduser.tab1
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货