grant all privileges on scdb.* to szl@localhost identified by '******';

 

说明:1.all privileges 所有可用权限,也可单独分别列出,

          比如:select,insert,update,delete,create,drop,index,alter,grant,references,reload,shutdown,process,file等14个权限

           2.   scdb.*    数据库名,* 代表该数据库下所有表、视图、存储过程等

           3.    szl@localhost   szl是用户名   @ 后面是IP地址,此处表明是本地

           4.    identified by '******'    *代表密码

相关文章:

  • 2021-07-04
  • 2021-10-08
  • 2021-11-24
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2021-12-15
  • 2021-10-23
  • 2021-09-02
相关资源
相似解决方案