InfluxDB reset admin password
Influxdb reset admin password
If you don't remember a password, you can change it. To change the password of one user, use SET PASSWORD FOR user = 'newpassword'.
You don't have the administrator password
Firest, you need to stop the influxdb service
service influxdb stop
Edit /etc/influxdb/influxdb.conf

Change auth-enabled = true by auth-enabled = false

Then, restart the InfluxDB service
service influxdb start
Then connect and change the password
influx --ssl -unsafeSsl
SET PASSWORD FOR admin = 'iambatman'