質問編集履歴

2

解決

2023/08/26 09:23

投稿

hfuob
hfuob

スコア9

test CHANGED
@@ -1 +1 @@
1
- psql: error: FATAL: Peer authentication failed for user "postgres"のエラー解消 ※解決済
1
+ psql: error: FATAL: Peer authentication failed for user "postgres"のエラー解消
test CHANGED
@@ -1,9 +1,3 @@
1
- ※投稿しましたが解決しました。すみません。
2
- 下記のコマンドでログインできました。
3
- sudo su - postgres
4
- psql
5
-
6
-
7
1
 
8
2
  ### 実現したいこと
9
3
 

1

解決しました

2023/08/26 07:04

投稿

hfuob
hfuob

スコア9

test CHANGED
@@ -1 +1 @@
1
- psql: error: FATAL: Peer authentication failed for user "postgres"のエラー解消
1
+ psql: error: FATAL: Peer authentication failed for user "postgres"のエラー解消 ※解決済
test CHANGED
@@ -1,3 +1,10 @@
1
+ ※投稿しましたが解決しました。すみません。
2
+ 下記のコマンドでログインできました。
3
+ sudo su - postgres
4
+ psql
5
+
6
+
7
+
1
8
  ### 実現したいこと
2
9
 
3
10
  Window10でWSL上でpostgresqlを使用する時にpsqlが使用できない。
@@ -32,3 +39,5 @@
32
39
  local all all trust
33
40
 
34
41
  エラーは同じでした。
42
+
43
+