create user pyshopuser identified by 'pyshopuser';
grant all privileges on pyshop.* to 'pyshopuser'@'%';
flush privileges;
create user pyshopuser identified by 'pyshopuser';
grant all privileges on pyshop.* to 'pyshopuser'@'%';
flush privileges;
本文标题:为一个项目单独配置数据库权限和用户
本文链接:https://www.haomeiwen.com/subject/tvkovctx.html
网友评论