重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛
标题:
prometheus监控mysql数据库需要的用户权限
[打印本页]
作者:
mahan
时间:
5 天前
标题:
prometheus监控mysql数据库需要的用户权限
MYSQL:
需要赋予的权限
监控用户/密码:
prometheus/sztech_4U
CREATE USER 'prometheus'@192.168.117.115' IDENTIFIED BY 'sztech_4U' WITH MAX_USER_CONNECTIONS 10;
GRANT PROCESS, REPLICATION CLIENT, SELECT ON *.* TO 'prometheus'@'192.168.117.115';
备注:192.168.117.115是prometheus服务器的IP
欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/)
Powered by Discuz! X3.2