创建只读用户并赋予a库所有表的只读权限 create user 'aquery'@'%' identified by 'aquery@2023'; grant select on a.* to 'situserquery'@'%';