質問編集履歴
2
補足情報の削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -141,59 +141,3 @@
|
|
141
141
|
しかし変わらず...。
|
142
142
|
|
143
143
|
もし解決方法が分かる方がいらっしゃいましたらぜひご教授をお願い致します。
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
#補足
|
148
|
-
|
149
|
-
色々試しているうちにエラー表記が変わってしまいました...
|
150
|
-
|
151
|
-
現状でrails db:migrateを実行すると
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
```
|
156
|
-
|
157
|
-
$ rails db:migrate
|
158
|
-
|
159
|
-
rails aborted!
|
160
|
-
|
161
|
-
PG::ConnectionBad: could not connect to server: Connection refused
|
162
|
-
|
163
|
-
Is the server running on host "localhost" (::1) and accepting
|
164
|
-
|
165
|
-
TCP/IP connections on port 5432?
|
166
|
-
|
167
|
-
could not connect to server: Connection refused
|
168
|
-
|
169
|
-
Is the server running on host "localhost" (127.0.0.1) and accepting
|
170
|
-
|
171
|
-
TCP/IP connections on port 5432?
|
172
|
-
|
173
|
-
bin/rails:4:in `<main>'
|
174
|
-
|
175
|
-
Tasks: TOP => db:migrate
|
176
|
-
|
177
|
-
(See full trace by running task with --trace)
|
178
|
-
|
179
|
-
```
|
180
|
-
|
181
|
-
このようなエラー表示なりました。
|
182
|
-
|
183
|
-
試しにpsql -U postgresを実行しても
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
```
|
188
|
-
|
189
|
-
$ psql -U postgres
|
190
|
-
|
191
|
-
psql: error: could not connect to server: could not connect to server: No such file or directory
|
192
|
-
|
193
|
-
Is the server running locally and accepting
|
194
|
-
|
195
|
-
connections on Unix domain socket "/tmp/.s.PGSQL.5432"
|
196
|
-
|
197
|
-
```
|
198
|
-
|
199
|
-
このようなエラーになってしまいなかなかエラーから抜けられません...
|
1
エラーの記述 変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -141,3 +141,59 @@
|
|
141
141
|
しかし変わらず...。
|
142
142
|
|
143
143
|
もし解決方法が分かる方がいらっしゃいましたらぜひご教授をお願い致します。
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
#補足
|
148
|
+
|
149
|
+
色々試しているうちにエラー表記が変わってしまいました...
|
150
|
+
|
151
|
+
現状でrails db:migrateを実行すると
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
```
|
156
|
+
|
157
|
+
$ rails db:migrate
|
158
|
+
|
159
|
+
rails aborted!
|
160
|
+
|
161
|
+
PG::ConnectionBad: could not connect to server: Connection refused
|
162
|
+
|
163
|
+
Is the server running on host "localhost" (::1) and accepting
|
164
|
+
|
165
|
+
TCP/IP connections on port 5432?
|
166
|
+
|
167
|
+
could not connect to server: Connection refused
|
168
|
+
|
169
|
+
Is the server running on host "localhost" (127.0.0.1) and accepting
|
170
|
+
|
171
|
+
TCP/IP connections on port 5432?
|
172
|
+
|
173
|
+
bin/rails:4:in `<main>'
|
174
|
+
|
175
|
+
Tasks: TOP => db:migrate
|
176
|
+
|
177
|
+
(See full trace by running task with --trace)
|
178
|
+
|
179
|
+
```
|
180
|
+
|
181
|
+
このようなエラー表示なりました。
|
182
|
+
|
183
|
+
試しにpsql -U postgresを実行しても
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
```
|
188
|
+
|
189
|
+
$ psql -U postgres
|
190
|
+
|
191
|
+
psql: error: could not connect to server: could not connect to server: No such file or directory
|
192
|
+
|
193
|
+
Is the server running locally and accepting
|
194
|
+
|
195
|
+
connections on Unix domain socket "/tmp/.s.PGSQL.5432"
|
196
|
+
|
197
|
+
```
|
198
|
+
|
199
|
+
このようなエラーになってしまいなかなかエラーから抜けられません...
|