add UNIX socket support for MySQL

This commit is contained in:
Marc Dequènes (Duck)
2017-04-12 14:54:56 +09:00
parent 3425f3a84a
commit 080b7a4d7d
2 changed files with 2 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ return [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', null),
'unix_socket' => env('DB_UNIX_SOCKET', null),
'database' => env('DB_DATABASE', null),
'username' => env('DB_USERNAME', null),
'password' => env('DB_PASSWORD', null),