2020年1月20日 星期一

InfluxDB External Access and Create User

https://www.itread01.com/content/1550450725.html

InfluxDB Create User

influx
create user admin with password 'admin'
grant all privileges to admin

set password for admin = 'admin'
drop user admin
revoke all on mydb from admin
show grants for admin

External Access

Edit C:\temp\influxdb-1.7.9-1\influxdb.conf so that
auth-enabled = true


NSSM

nssm install
C:\temp\influxdb-1.7.9-1\influxd.exe
C:\temp\influxdb-1.7.9-1\
-config "C:\temp\influxdb-1.7.9-1\influxdb.conf"
InfluxDB


CLI

influx -username admin -password admin

or

influx
auth
admin
admin

End


沒有留言:

張貼留言

2007 to 2023 HP and Dell Servers Comparison

  HP Gen5 to Gen11  using ChatGPT HP ProLiant Gen Active Years CPU Socket Popular HP CPUs Cores Base Clock Max RAM Capacity Comparable Dell ...