回答編集履歴
1
コピペするところ間違えました
answer
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
configファイルの設定などわからないので予想になりますがエラー出てるところが
|
2
2
|
vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
|
3
3
|
```php
|
4
|
-
switch ($
|
4
|
+
switch ($driver) {
|
5
5
|
case 'mysql':
|
6
|
-
return new
|
6
|
+
return new MySqlConnection($connection, $database, $prefix, $config);
|
7
7
|
case 'pgsql':
|
8
|
-
return new
|
8
|
+
return new PostgresConnection($connection, $database, $prefix, $config);
|
9
9
|
case 'sqlite':
|
10
|
-
return new
|
10
|
+
return new SQLiteConnection($connection, $database, $prefix, $config);
|
11
11
|
case 'sqlsrv':
|
12
|
-
return new
|
12
|
+
return new SqlServerConnection($connection, $database, $prefix, $config);
|
13
13
|
}
|
14
14
|
|
15
|
-
throw new InvalidArgumentException("Unsupported driver [{$
|
15
|
+
throw new InvalidArgumentException("Unsupported driver [{$driver}]");
|
16
16
|
```
|
17
17
|
の何も当てはまらないときに出てる例外なのでdriverの設定が多分`https`になってるのが原因では?
|
18
18
|
(laravelのdriverでhttpsなんて設定するのあったかな…)
|