matthewwall / weewx-influx

uploader for influxdb
GNU General Public License v3.0
45 stars 22 forks source link

Influx User need admin rights #7

Closed Hofei90 closed 7 years ago

Hofei90 commented 7 years ago

Hi, when the influx user dont have admin rights, then isn't possible to run the skript.

influx.py: In Line 281 whould create a database, that need admin rights, i think it s better that the skript don't create any database's and so the influx user don't need admin rights.

matthewwall commented 7 years ago

fixed at commit 19d98ba

specify dbadmin_username and dbadmin_password to use separate credentials for creating database. and the extension no long fails if it cannot create database.