teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

訂正

2020/12/31 01:04

投稿

退会済みユーザー
answer CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ・・・ですが、エラーメッセージでググって調べた限りですが、その可能性が高そうに思えます。
6
6
 
7
- 以下の記事に "Below are the connection string parameters which Npgsql understands." と Npgsql 用の接続文字列と明記してあり、その Security and Encryption のセクションを見ると SSL **Mode=Require** とするとのことです。
7
+ 以下の記事に "Below are the connection string parameters which Npgsql understands." と Npgsql 用の接続文字列と明記してあり、その Security and Encryption のセクションを見ると **SSL Mode=Require** とするとのことです。
8
8
 
9
9
  Connection String Parameters
10
10
  [https://www.npgsql.org/doc/connection-string-parameters.html#security-and-encryption](https://www.npgsql.org/doc/connection-string-parameters.html#security-and-encryption)
@@ -14,7 +14,7 @@
14
14
  PostgreSQL connection strings
15
15
  [https://www.connectionstrings.com/postgresql/](https://www.connectionstrings.com/postgresql/)
16
16
 
17
- どっちが本当か分かりませんが、質問に書いてあった sslmode=require ではないようで、後者の記事によるとそれは PostgreSQL ODBC Driver (psqlODBC) 用のようです。
17
+ どっちが本当か分かりませんが、**質問に書いてあった sslmode=require ではない**ようで、後者の記事によるとそれは PostgreSQL ODBC Driver (psqlODBC) 用のようです。
18
18
 
19
19
  これも質問のコメントに書きましたが、問題を切り分けるためにも単純に ADO.NET + Npgsql だけで、質問に書いてあった接続文字列での接続を試してみてはいかがですか。
20
20