数据库运维平台~功能使用

一 简介: 使用平台的一些注意点

二 账号创建

      每种账号只能注册一个,线上数据库所有操作一共三种账号

      读写账号      

     grant select,insert,delete,update,create,drop,alter,trigger,super,replication client,replication slave,process on *.* to 'user'@'%' identified by 'password'; 

     只读账号

     grant select,repliction slave,replication client on *.* to 'user'@'%' identified by 'password' 

     监控账号   

    grant select,show,process on *.* to 'user'@'%' identified by 'password' 

     inception账号

    grant all privileges  on *,* to 'user'@'%' identified by 'password'

三  使用流程

     1 添加数据库服务器  全部填写,尤其是Role

     2 创建用户

     3 创建用户组

     4  用户组进行授权 

     5 进行事务和查询测试

原文地址:https://www.cnblogs.com/danhuangpai/p/11739104.html