Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Influxdb outflux参数的语义——输出连接_Influxdb_Timescaledb - Fatal编程技术网

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版