Guest User

Untitled

a guest
Dec 2nd, 2019
187
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'mysql' => [
  2. 'read' => [
  3. 'host' => $host,
  4. 'username' => $username,
  5. 'password' => env('DB_PASSWORD_R', ''),
  6. ],
  7. 'write' => [
  8. 'host' => explode(',', env('DB_HOST_W', '')),
  9. 'username' => env('DB_USERNAME_W', ''),
  10. 'password' => env('DB_PASSWORD_W', ''),
  11. ],
  12. 'driver' => 'mysql',
  13. 'port' => env('DB_PORT', '3306'),
  14. 'database' => env('DB_DATABASE', ''),
  15. 'charset' => 'utf8mb4',
  16. 'collation' => 'utf8mb4_unicode_ci',
  17. 'prefix' => '',
  18. 'prefix_indexes' => false,
  19. 'strict' => true,
  20. 'engine' => null,
  21. // MySQLはUTC、LaravelはJSTの場合
  22. 'timezone' => '+09:00',
  23. 'sticky' => false,
  24. ],
  25. ],
RAW Paste Data