質問編集履歴
1
エラー編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,6 +50,58 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
+
|
54
|
+
|
55
|
+
### 該当ソースコード2
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
```ここに言語名を入力
|
60
|
+
|
61
|
+
root@50e07ab13383:/var/www# php artisan migrate
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
In Connection.php line 664:
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
SQLSTATE[HY000] [2054] The server requested authentication method unknown t
|
70
|
+
|
71
|
+
o the client (SQL: select * from information_schema.tables where table_sche
|
72
|
+
|
73
|
+
ma = default and table_name = migrations)
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
In Connector.php line 67:
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
SQLSTATE[HY000] [2054] The server requested authentication method unknown t
|
84
|
+
|
85
|
+
o the client
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
In Connector.php line 67:
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
PDO::__construct(): The server requested authentication method unknown to t
|
96
|
+
|
97
|
+
he client [caching_sha2_password]
|
98
|
+
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
53
105
|
### .envファイル中身
|
54
106
|
|
55
107
|
|
@@ -58,7 +110,7 @@
|
|
58
110
|
|
59
111
|
DB_CONNECTION=mysql
|
60
112
|
|
61
|
-
DB_HOST=mysqldb
|
113
|
+
DB_HOST=mysqldb→mysql #編集 該当ソースコード2
|
62
114
|
|
63
115
|
DB_PORT=3306
|
64
116
|
|