#配置只读用户,all表示所有权限 GRANT SELECT ON miao_mu_data.* TO '用户名'@'%' IDENTIFIED by "密码";

#查看用户权限 use mysql; select * from user;