diff --git a/Classes/Core/Functional/FunctionalTestCase.php b/Classes/Core/Functional/FunctionalTestCase.php
index <HASH>..<HASH> 100644
--- a/Classes/Core/Functional/FunctionalTestCase.php
+++ b/Classes/Core/Functional/FunctionalTestCase.php
@@ -330,7 +330,7 @@ abstract class FunctionalTestCase extends BaseTestCase
                 $localConfiguration['DB']['Connections']['Default']['dbname'] = $dbName;
                 $localConfiguration['DB']['Connections']['Default']['wrapperClass'] = DatabaseConnectionWrapper::class;
                 $testbase->testDatabaseNameIsNotTooLong($originalDatabaseName, $localConfiguration);
-                if ($dbDriver === 'mysqli') {
+                if ($dbDriver === 'mysqli' || $dbDriver === 'pdo_mysql') {
                     $localConfiguration['DB']['Connections']['Default']['charset'] = 'utf8mb4';
                     $localConfiguration['DB']['Connections']['Default']['tableoptions']['charset'] = 'utf8mb4';
                     $localConfiguration['DB']['Connections']['Default']['tableoptions']['collate'] = 'utf8mb4_unicode_ci';
[BUGFIX] Functional test driver sets utf8 with pdo_mysql

In addition to driver mysqli.