We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 776cd43 + 3fc651d commit 07256fdCopy full SHA for 07256fd
config/database.php
@@ -18,9 +18,10 @@
18
//'add_extra_option' => '--optionname=optionvalue',
19
];
20
21
-// Some versions of mysql do not support the --skip-ssl option and will fail if it is even set
+// For modern versions of mysqldump, use --ssl-mode=DISABLED
22
if (env('DB_DUMP_SKIP_SSL') == 'true') {
23
- $dump_options['skip_ssl'] = true;
+ // Correctly add the option as a string to the 'add_extra_option' key.
24
+ $dump_options['add_extra_option'] = '--ssl-mode=DISABLED';
25
}
26
27
0 commit comments