Same filename in this branch
  1. 10 core/lib/Drupal/Core/Database/Connection.php
  2. 10 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
  3. 10 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
  4. 10 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
  5. 10 core/modules/mysql/src/Driver/Database/mysql/Connection.php
  6. 10 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
  7. 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
  8. 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php
  9. 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php
  10. 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php
  11. 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php
  12. 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php
  13. 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php
Same filename and directory in other branches
  1. 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
  2. 9 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php

Namespace

Drupal\Core\Database\Driver\mysql

File

core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
View source
<?php

namespace Drupal\Core\Database\Driver\mysql;

use Drupal\mysql\Driver\Database\mysql\Connection as MysqlConnection;
@trigger_error('\\Drupal\\Core\\Database\\Driver\\mysql\\Connection is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. See https://www.drupal.org/node/3129492', E_USER_DEPRECATED);

/**
 * MySQL implementation of \Drupal\Core\Database\Connection.
 *
 * @deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL
 *   database driver has been moved to the mysql module.
 *
 * @see https://www.drupal.org/node/3129492
 */
class Connection extends MysqlConnection {

}

Classes

Namesort descending Description
Connection Deprecated MySQL implementation of \Drupal\Core\Database\Connection.