Skip to content

Commit a850f0a

Browse files
authored
Merge pull request #1788 from IrAlfred/remove-mysql-specific-db-defaults
fix(other): remove MySQL port and socket defaults to support all database drivers
2 parents 0310de5 + 43c021e commit a850f0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

config/database.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
| Database port. Only needed if your database is running on a non-standard
3232
| port
3333
*/
34-
'db_port' => env('DB_PORT', 3306),
34+
'db_port' => env('DB_PORT', ''),
3535

3636
/*
3737
|
38-
| If db_connection_type is set to "socket", this should be the filesystem
39-
| location of the unix socket file. If db_connection_type is set to "host"
40-
| this value is ignored.
38+
| If db_connection_type is set to "socket", DB_SOCKET must be provided in
39+
| the .env file with the filesystem location of the unix socket file.
40+
| If db_connection_type is set to "host", this value is ignored.
4141
*/
42-
'db_socket' => env('DB_SOCKET','/var/lib/mysqld/mysqld.sock'),
42+
'db_socket' => env('DB_SOCKET', ''),
4343

4444
/*
4545
|

0 commit comments

Comments
 (0)