用登陆b库的有赋权权限的用户将这几个表的操作权限给要访问的用户
grant select, insert, update, delete, references, alter, index on username to tablename;