mysql 赋予用户权限

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

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

 

posted @ 2019-05-22 10:18  铜锣湾扛把子·66  阅读(1880)  评论(0)    收藏  举报