File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Original file line number Diff line number Diff line change 39
39
],
40
40
41
41
'mysql ' => [
42
+ 'driver ' => 'mysql ' ,
43
+ 'url ' => env ('DB_URL ' ),
44
+ 'host ' => env ('DB_HOST ' , '127.0.0.1 ' ),
45
+ 'port ' => env ('DB_PORT ' , '3306 ' ),
46
+ 'database ' => env ('DB_DATABASE ' , 'forge ' ),
47
+ 'username ' => env ('DB_USERNAME ' , 'forge ' ),
48
+ 'password ' => env ('DB_PASSWORD ' , '' ),
49
+ 'unix_socket ' => env ('DB_SOCKET ' , '' ),
50
+ 'charset ' => 'utf8mb4 ' ,
51
+ 'collation ' => 'utf8mb4_0900_ai_ci ' ,
52
+ 'prefix ' => '' ,
53
+ 'prefix_indexes ' => true ,
54
+ 'strict ' => true ,
55
+ 'engine ' => null ,
56
+ 'options ' => extension_loaded ('pdo_mysql ' ) ? array_filter ([
57
+ PDO ::MYSQL_ATTR_SSL_CA => env ('MYSQL_ATTR_SSL_CA ' ),
58
+ ]) : [],
59
+ ],
60
+
61
+ 'mariadb ' => [
42
62
'driver ' => 'mysql ' ,
43
63
'url ' => env ('DB_URL ' ),
44
64
'host ' => env ('DB_HOST ' , '127.0.0.1 ' ),
You can’t perform that action at this time.
0 commit comments