mysql -u root -p
CREATE USER 'user'@'%' IDENTIFIED BY '666666';
grant select on database.* to user@'%';
本文标题:MySQL创建用户和授权
本文链接:https://www.haomeiwen.com/subject/hzrkqltx.html
网友评论