Adds socket to config/database.php for consistency

For the mysql driver only (as this only applies to mysql) add the "socket" configuration parameter and corresponding environment variable.
This commit is contained in:
Brent Shaffer 2016-11-09 16:03:37 -08:00
parent fe5146f854
commit a812983d0b
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',