mysql 赋予用户权限

grant  select  on *.*  to 'username';  赋予查询权限

grant  all privileges  on *.*  to  'username' @"%" identified by "123"  赋予所有权限

 

posted @ 2019-05-22 10:18  哦~杰克  阅读(1866)  评论(0编辑  收藏  举报