influxDB-用户授权

用户授权

1.授予数据库操作权限

grant all privileges on influxdb to influx

2.授予用户管理员权限

grant all privileges to influx

备注:只有使用admin权限才可以操作数据库

撤销授权

1.撤销用户数据库操作权限

revoke all privileges on influxdb from influx

2.撤销用户管理员权限

revoke all privileges from influx
原文地址:https://www.cnblogs.com/Bluebells/p/14124346.html