MySQL创建用户和授权
2021-03-04 本文已影响0人
是我拉叔
mysql -u root -p
CREATE USER 'user'@'%' IDENTIFIED BY '666666';
grant select on database.* to user@'%';
mysql -u root -p
CREATE USER 'user'@'%' IDENTIFIED BY '666666';
grant select on database.* to user@'%';