首页 > 技术文章 > MySQL赋予只读和连接权限
roostinghawk 2020-03-30 09:52 原文
GRANT SELECT ON dbname.* to user1@'%' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;