zoukankan      html  css  js  c++  java
  • mysql创库授权

    创建库
    create database zabbix character set utf8 collate utf8_bin;
    创建用户
    create user 'slave'@'IP' identified by 'passwd';
    直接授权及建用户
    grant all privileges on busgps.* to 'busgps'@'%' identified by 'passwd' with grant option;
    grant all privileges on exam.* to 'exam'@'%' identified by 'passwd' with grant option;
    grant all privileges on entrycity.* to 'entrycity'@'%' identified by 'passwd' with grant option;
    flush privileges;
    
    show grants for 'busgps'@'%';
    
    指定地址段
    create user 'test'@'192.168.15.%' identified by 'passwd';
  • 相关阅读:
    关于数论的一些总结
    gym101431B
    4.29训练题解
    hdu4347
    5.13训练的一些题解
    5.20训练的一些题解
    hdu4796
    hdu5984
    bzoj1941 hdu5992
    hdu4307
  • 原文地址:https://www.cnblogs.com/kylingx/p/12601706.html
Copyright © 2011-2022 走看看