質問編集履歴
2
エラーが表示されていなかったので修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,8 @@
|
|
22
22
|
|
23
23
|
再びログインしたところ
|
24
24
|
|
25
|
-
```
|
25
|
+
```
|
26
|
+
[previous exception] [object] (PDOException(code: 7): SQLSTATE[08006] [7] connection to server at \"ホスト名\" (IPアドレス), port 3306 failed: expected authentication request from server, but received at /app/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70)
|
26
27
|
|
27
28
|
```
|
28
29
|
|
1
回答をいただき、試した後に出たエラーを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,7 +16,15 @@
|
|
16
16
|
```
|
17
17
|
|
18
18
|
というエラーがログに出力されていました。
|
19
|
-
5432はポスグレのデフォルトのポート番号なので
|
19
|
+
5432はポスグレのデフォルトのポート番号なので
|
20
|
+
herokuの管理画面のSettings>Config Varから
|
20
|
-
|
21
|
+
DB_PORT:3306を設定しました。
|
21
22
|
|
23
|
+
再びログインしたところ
|
22
24
|
|
25
|
+
```[previous exception] [object] (PDOException(code: 7): SQLSTATE[08006] [7] connection to server at \"ホスト名\" (IPアドレス), port 3306 failed: expected authentication request from server, but received at /app/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70)
|
26
|
+
|
27
|
+
```
|
28
|
+
|
29
|
+
というエラーが出力されました。
|
30
|
+
設定が足りないと考えられる部分はどこでしょうか?
|