InfluxDB+Grafana persistence and graphing

I made a new clean install of openHAB 2.5.0.M3 Milestone Build. Then I installed InfluxDB+Grafana through the openhabian Configuration Tool. All went fine but when I wanted to create the Database with

influx
CREATE DATABASE openhab_db

I get this error:

ERR: unable to parse authentication credentials
Warning: It is possible this error is due to not setting a database.
Please set a database with the command “use ”.

I don´t know what I have missed.
User:

[12:29:05] openhabian@openhab:~$ influx

Grafana website works.
I also tried the solution from chris669

OK, Reply to myself… After investigating through the forum, I’ve seen this post and now for those who encountered the same problem, beware, the script installing InfluxDB and Grafana doesn’t do all the job. DATABASE is not installed!
In my case, after a clean install, I had to proceed this way:
sudo chown -hR openhab:openhab /etc/openhab2
sudo chown openhab:openhabian /etc/openhab2/services/influxdb.cfg
influx -port 8086 -username myusername -password mypassword -host localhost
CREATE DATABASE openhab_db
CREATE USER myusername WITH PASSWORD ‘mypassword’ WITH ALL PRIVILEGES
CREATE USER openhab WITH PASSWORD ‘myopenhabpassword’
CREATE USER grafana WITH PASSWORD ‘mygrafanapassword’
GRANT ALL ON openhab_db TO openhab
GRANT READ ON openhab_db TO grafana

But it doesn´t work.