Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
Database.php
»
Database
»
Database::addConnectionInfo
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
11 calls to Database::addConnectionInfo()
ConnectionTest::testConnectionOptions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests the connection options of the active database.
ConnectionTest::testConnectionRouting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionUnitTest::addConnection
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Adds a new database connection info to Database.
ConnectionUnitTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
ConnectionUnitTest.php
Sets up unit test environment.
LoggingTest::testEnableMultiConnectionLogging
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
LoggingTest.php
Tests that we can log queries separately on different connections.
LoggingTest::testEnableTargetLogging
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Database/
LoggingTest.php
Tests logging queries against multiple targets on the same connection.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
mysql/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
sqlite/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.
Tasks::connect
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
pgsql/
Install/
Tasks.php
Check database connection and attempt to create database if the database is missing.
TestBase::changeDatabasePrefix
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Changes the database connection to the prefixed one.