質問編集履歴

3

本文

2020/02/16 00:13

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -82,8 +82,6 @@
82
82
 
83
83
  $psql
84
84
 
85
-
86
-
87
85
  psql: error: could not connect to server: could not connect to server: No such file or directory
88
86
 
89
87
  Is the server running locally and accepting
@@ -91,6 +89,14 @@
91
89
  connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
92
90
 
93
91
 
92
+
93
+ $ sudo su - postgres
94
+
95
+ No directory, logging in with HOME=/
96
+
97
+ mkdir: cannot create directory ‘//.cache’: Permission denied
98
+
99
+ -su: //.cache/wslu/integration: No such file or directory
94
100
 
95
101
  ```
96
102
 

2

エラーメッセージ

2020/02/16 00:13

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- Windows ubuntu
5
+ Windows10 ubuntu18
6
6
 
7
7
  Railsから利用できるように、PostgreSQLを起動したいです
8
8
 
@@ -78,7 +78,21 @@
78
78
 
79
79
 
80
80
 
81
- ここに問題に対して試したこと記載してください。
81
+ ```ここに言語入力
82
+
83
+ $psql
84
+
85
+
86
+
87
+ psql: error: could not connect to server: could not connect to server: No such file or directory
88
+
89
+ Is the server running locally and accepting
90
+
91
+ connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
92
+
93
+
94
+
95
+ ```
82
96
 
83
97
 
84
98
 

1

本文

2020/02/16 00:10

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -19,6 +19,10 @@
19
19
 
20
20
 
21
21
  $sudo apt update
22
+
23
+
24
+
25
+ $sudo apt-get install postgresql-client-12
22
26
 
23
27
 
24
28