We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16076b2 commit bd21da9Copy full SHA for bd21da9
src/Sql/SqlMysql.php
@@ -25,7 +25,7 @@ public static function make(array $dbSpec, array $options)
25
$process = Drush::shell('mysql --version');
26
$process->setSimulated(false);
27
$process->run();
28
- if ((!$process->isSuccessful() || str_contains($process->getOutput(), 'MariaDB')) && self::programExists('mariadb')) {
+ if ((!$process->isSuccessful() || str_contains($process->getOutput(), 'MariaDB')) && self::programExists('mariadb') && self::programExists('mariadb-dump')) {
29
$instance = new SqlMariaDB($dbSpec, $options);
30
} else {
31
$instance = new self($dbSpec, $options);
0 commit comments