Skip to content

Commit a44f929

Browse files
authored
Merge pull request #22 from VanOns/feature/VOOS-91
[VOOS-91] Add option to skip SSL for local database (continued)
2 parents 44b2686 + 9d4a465 commit a44f929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/ImportEnvironmentCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ protected function getDatabaseDumpClient(bool $local = false): MySql
350350
->setPort($port)
351351
->setDumpBinaryPath($this->getConfigValue('db_dump_binary_path', '/usr/bin'));
352352

353-
// Allow skipping SSL when connecting to database, only supported by MySQL.
354-
if ($dbType === 'mysql'
353+
// Allow skipping SSL when connecting to database, only supported by MySQL & MariaDB.
354+
if (($dbType === 'mysql' || $dbType === 'mariadb')
355355
&& (
356356
(!$local && $this->getEnvironmentConfigValue('db_skip_ssl', false))
357357
|| ($local && $this->getConfigValue('skip_ssl_local', false))

0 commit comments

Comments
 (0)