配置smt pgsql —> StarRocks
./starrocks-migrate-tool -c conf/config_prod.conf
2025/11/24 10:48:56 source/pgsql.go:92
[error] failed to initialize database, got error failed to connect to host=x.x.x.x user=user1 database=: server error (FATAL: database “user1” does not exist (SQLSTATE 3D000))
panic: failed to connect to host=x.x.x.x user=user1 database=: server error (FATAL: database “user1” does not exist (SQLSTATE 3D000))
goroutine 1 [running]:
main.main()
main.go:34 +0x965
配置里[db] 段加 database = db , schema= public 也没法避免问题