質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -323,3 +323,65 @@
|
|
323
323
|
|
324
324
|
|
325
325
|
```
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
```
|
330
|
+
|
331
|
+
'mysql' => [
|
332
|
+
|
333
|
+
'driver' => 'mysql',
|
334
|
+
|
335
|
+
'url' => env('DATABASE_URL'),
|
336
|
+
|
337
|
+
'host' => env('DB_HOST', '127.0.0.1'),
|
338
|
+
|
339
|
+
'port' => env('DB_PORT', '3306'),
|
340
|
+
|
341
|
+
'database' => env('DB_DATABASE', 'vege-cone'),
|
342
|
+
|
343
|
+
'username' => env('DB_USERNAME', 'yuma'),
|
344
|
+
|
345
|
+
'password' => env('DB_PASSWORD', '****'),
|
346
|
+
|
347
|
+
'unix_socket' => env('DB_SOCKET', ''),
|
348
|
+
|
349
|
+
'charset' => 'utf8mb4',
|
350
|
+
|
351
|
+
'collation' => 'utf8mb4_unicode_ci',
|
352
|
+
|
353
|
+
'prefix' => '',
|
354
|
+
|
355
|
+
'prefix_indexes' => true,
|
356
|
+
|
357
|
+
'strict' => true,
|
358
|
+
|
359
|
+
'engine' => null,
|
360
|
+
|
361
|
+
'options' => extension_loaded('pdo_mysql') ? array_filter([
|
362
|
+
|
363
|
+
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
|
364
|
+
|
365
|
+
]) : [],
|
366
|
+
|
367
|
+
],
|
368
|
+
|
369
|
+
```
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
```
|
374
|
+
|
375
|
+
DB_CONNECTION=mysql
|
376
|
+
|
377
|
+
DB_HOST=127.0.0.1
|
378
|
+
|
379
|
+
DB_PORT=3306
|
380
|
+
|
381
|
+
DB_DATABASE=vege-cone
|
382
|
+
|
383
|
+
DB_USERNAME=yuma
|
384
|
+
|
385
|
+
DB_PASSWORD=*****
|
386
|
+
|
387
|
+
```
|