Influxdb outflux参数的语义——输出连接
我正试图借助于Influxdb outflux参数的语义——输出连接,influxdb,timescaledb,Influxdb,Timescaledb,我正试图借助于outflux,将InfluxDB数据库迁移到TimescaleDB: $ outflux migrate database --input-server https://xxx:443 --input-user xxx --input-pass xxx --output-conn "dbname=tutorial user=postgres" 2019/10/18 17:06:42 All pipelines scheduled 2019/10/18 17:06:42 All p
outflux
,将InfluxDB数据库迁移到TimescaleDB:
$ outflux migrate database --input-server https://xxx:443 --input-user xxx --input-pass xxx --output-conn "dbname=tutorial user=postgres"
2019/10/18 17:06:42 All pipelines scheduled
2019/10/18 17:06:42 All pipelines finished
2019/10/18 17:06:42 Migration execution time: 0.000 seconds
$
由于上述命令的执行不会要求PostgreSQL密码,outflux
显然不会连接到PostgreSQL
但为什么它不返回适当的错误消息呢
如何正确设置PostgreSQL数据库的主机、端口、数据库、用户和密码,以便
outflux
连接到它?您可以使用URI或DSN格式设置时间刻度的连接字符串,或者使用env vars。请查看可以指定密码的字符串中的自述部分()。但奇怪的是,您没有收到任何错误消息。你能告诉我你使用的是哪种版本的outflux吗?@BlagojAtanasovski-Thx,它很有用<代码>出口流量0.2.0版