diff -Nur drupal/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php drupal-orig/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php --- drupal/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php 2020-05-14 11:35:23.238162000 +0000 +++ drupal-orig/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php 2020-05-14 11:12:28.740979000 +0000 @@ -453,7 +453,7 @@ // https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html#mysqld-8-0-11-deprecation-removal $version_server = $pdo->getAttribute(\PDO::ATTR_SERVER_VERSION); if (version_compare($version_server, '8.0.11', '<')) { - $sql_mode .= ',NO_AUTO_CREATE_USER'; + //$sql_mode .= ',NO_AUTO_CREATE_USER'; } $connection_options['init_commands'] += [ 'sql_mode' => "SET sql_mode = '$sql_mode'", diff -Nur drupal/core/lib/Drupal/Core/Database/Schema.php drupal-orig/core/lib/Drupal/Core/Database/Schema.php --- drupal/core/lib/Drupal/Core/Database/Schema.php 2020-05-14 11:35:44.070944000 +0000 +++ drupal-orig/core/lib/Drupal/Core/Database/Schema.php 2020-05-14 10:18:20.368611000 +0000 @@ -201,7 +201,7 @@ // couldn't use \Drupal::database()->select() here because it would prefix // information_schema.tables and the query would fail. // Don't use {} around information_schema.tables table. - $results = $this->connection->query("SELECT table_name as table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments()); + $results = $this->connection->query("SELECT TABLE_NAME as table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments()); foreach ($results as $table) { // Take into account tables that have an individual prefix. if (isset($individually_prefixed_tables[$table->table_name])) {