I'm having troubling with set authenticate in InfluxDB. First the follow tutorial told me to change the config file:
[http]
enabled = true
bind-address = ":8086"
auth-enabled = true # ✨
log-enabled = true
write-tracing = false
pprof-enabled = false
https-enabled = false
https-certificate = "/etc/ssl/influxdb.pem"
But when i change, and reload the server. I can't create users.
CREATE USER paul WITH PASSWORD 'timeseries4days' WITH ALL PRIVILEGES
ERR: unable to parse Basic Auth credentials
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use <database>".
So, when a use my database that i created:
USE example
ERR: unable to parse Basic Auth credentials
Now i don't know what i exactly do to set my authenticate to give only a user (In this case paul) the power to READ and WRITE my database example.