mysql数据库授权

        grant all on xxxx.* to 'root'@'%' identified by 'password' with grant option;   

  1. xxxx代表创建的数据库;   
  2. password为用户密码,在此为root的密码  
posted @ 2021-04-23 10:52  金虹巴巴  阅读(58)  评论(0编辑  收藏  举报