diff --git a/utf8mb4_convert.drush.inc b/utf8mb4_convert.drush.inc
index b102dc2..45c6a2e 100644
--- a/utf8mb4_convert.drush.inc
+++ b/utf8mb4_convert.drush.inc
@@ -42,29 +42,32 @@ class DrupalCharsetConverter {
     $success = FALSE;
     foreach ($databases as $database_key => $database_values) {
       foreach ($database_values as $target => $database) {
-        // mysql, mysqli, etc.
-        if (strpos($database['driver'], 'mysql') === 0) {
-          drush_print('Target MySQL database: ' . $database['database'] . '@' . $database['host'] . ' (' . $database_key . ':' . $target  . ')' );
-          // Connect to next database.
-          db_set_active($database_key);
-          $connection = Database::getConnection();
-          // Check the database type is mysql.
-          $db_type = $connection->databaseType();
-          // Skip if not MySQL.
-          if ($db_type !== 'mysql') {
-            continue;
-          }
-          if ($this->charset == 'utf8mb4' && !$connection->utf8mb4IsSupported()) {
-            drush_print('The ' . $database_key . ':' . $target . ' MySQL database does not support UTF8MB4! Ensure that the conditions listed in settings.php related to innodb_large_prefix, the server version, and the MySQL driver version are met. See https://www.drupal.org/node/2754539 for more information.');
-            continue;
-          }
-          // For each database:
-          $this->convertDatabase($database['database']);
-          // For each table in the database.
-          $this->convertTables();
-          $success = TRUE;
-          drush_print('Finished converting the ' . $database_key . ':' . $target . ' MySQL database!');
+        // Skip slave databases, multiple databases within a single target,
+        // and any non-MySQL databases.
+        if ($target === 'slave' || !isset($database['driver']) || strpos($database['driver'], 'mysql') !== 0) {
+          continue;
         }
+
+        drush_print('Target MySQL database: ' . $database['database'] . '@' . $database['host'] . ' (' . $database_key . ':' . $target  . ')' );
+        // Connect to next database.
+        db_set_active($database_key);
+        $connection = Database::getConnection();
+        // Check the database type is mysql.
+        $db_type = $connection->databaseType();
+        // Skip if not MySQL.
+        if ($db_type !== 'mysql') {
+          continue;
+        }
+        if ($this->charset == 'utf8mb4' && !$connection->utf8mb4IsSupported()) {
+          drush_print('The ' . $database_key . ':' . $target . ' MySQL database does not support UTF8MB4! Ensure that the conditions listed in settings.php related to innodb_large_prefix, the server version, and the MySQL driver version are met. See https://www.drupal.org/node/2754539 for more information.');
+          continue;
+        }
+        // For each database:
+        $this->convertDatabase($database['database']);
+        // For each table in the database.
+        $this->convertTables();
+        $success = TRUE;
+        drush_print('Finished converting the ' . $database_key . ':' . $target . ' MySQL database!');
       }
     }
     // Reset connection to default.
