Keyword not supported: 'host', PostgresSql #846
-
Testcontainers.PostgreSql private readonly PostgreSqlContainer _postgreSqlContainer = new PostgreSqlBuilder() _postgreSqlContainer.GetConnectionString Returns Host, should this not be Server? I get the error in title when using Respawn to reset my database tables for testing. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Which data provider do you use? According to the Npgsql documentation the parameter is |
Beta Was this translation helpful? Give feedback.
-
I currently use Dapper, FluentMigrator, Respawn with DbAdapter.Postgres and the NpgsqlConnection from Npgsql |
Beta Was this translation helpful? Give feedback.
-
Yea, everything works fine here also, expect for Respawn.. Sorry to bother you. |
Beta Was this translation helpful? Give feedback.
-
I figured it out, it was Respawn. To anyone else: |
Beta Was this translation helpful? Give feedback.
Which data provider do you use? According to the Npgsql documentation the parameter is
Host
.