MariaDB创建远程用户访问,并设置只允许访问一个数据库.

create user 'user'@'%'  identified by 'mm123456';

grant all privileges on road.* to 'user'@'%';

flush privileges;

posted on 2020-02-27 11:17  yaolunhui  阅读(533)  评论(0编辑  收藏  举报

导航