CREATE USER 'readonly'@'%' IDENTIFIED BY 'hudongtang2020';


GRANT SELECT ON activity_platform.* TO 'readonly'@'%';
GRANT SELECT ON activity_question.* TO 'readonly'@'%';
GRANT SELECT ON activity_vote.* TO 'readonly'@'%';
GRANT SELECT ON activity_application.* TO 'readonly'@'%';
GRANT SELECT ON activity_lottery.* TO 'readonly'@'%';


FLUSH PRIVILEGES;
最后修改:2021 年 09 月 16 日 06 : 08 PM
如果觉得我的文章对你有用,请随意赞赏