質問編集履歴
1
エラーメッセージの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,6 +15,15 @@
|
|
15
15
|
gem 'pg'
|
16
16
|
|
17
17
|
rails db:createを実行すると以下エラーが発生してしまいます。
|
18
|
+
Running via Spring preloader in process 3904
|
19
|
+
could not connect to server: Connection refused
|
20
|
+
Is the server running on host "127.0.0.1" and accepting
|
21
|
+
TCP/IP connections on port 5432?
|
22
|
+
Couldn't create '' database. Please check your configuration.
|
23
|
+
rake aborted!
|
24
|
+
ActiveRecord::ConnectionNotEstablished: could not connect to server: Connection refused
|
25
|
+
Is the server running on host "127.0.0.1" and accepting
|
26
|
+
TCP/IP connections on port 5432?
|
18
27
|
![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-08-16/e6c7e405-1926-454a-87aa-894ede52245c.png)
|
19
28
|
### 試したこと
|
20
29
|
brew services list
|