~:influx> show databases;name: databasesname----_internal
复制代码
2、创建用户,并授权
>show users;user admin---- ----->create user influx with password '*********' with all privileges;>show users;user admin---- -----influx true>exit
~:influx> show databases;ERR: unable to parse authentication credentialsWarning: It is possible this error is due to not setting a database.Please set a database with the command "use ".>auth>输入账号暗码就可以了。