File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Illuminate/Database/Schema Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ protected function connectionString()
105
105
106
106
$ value .= $ this ->connection ->getConfig ()['unix_socket ' ] ?? false
107
107
? ' --socket="${:LARAVEL_LOAD_SOCKET}" '
108
- : ' --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" ' ;
108
+ : ' --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" --ssl-ca="${:LARAVEL_LOAD_SSL_CA}" ' ;
109
109
110
110
return $ value ;
111
111
}
@@ -127,6 +127,7 @@ protected function baseVariables(array $config)
127
127
'LARAVEL_LOAD_USER ' => $ config ['username ' ],
128
128
'LARAVEL_LOAD_PASSWORD ' => $ config ['password ' ] ?? '' ,
129
129
'LARAVEL_LOAD_DATABASE ' => $ config ['database ' ],
130
+ 'LARAVEL_LOAD_SSL_CA ' => $ config ['options ' ][\PDO ::MYSQL_ATTR_SSL_CA ] ?? '' ,
130
131
];
131
132
}
132
133
You can’t perform that action at this time.
0 commit comments