Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
database.inc
»
Database
»
Database::addConnectionInfo
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
9 calls to Database::addConnectionInfo()
ConnectionUnitTest::addConnection
in drupal/
modules/
simpletest/
tests/
database_test.test
Adds a new database connection info to Database.
ConnectionUnitTest::setUp
in drupal/
modules/
simpletest/
tests/
database_test.test
Sets up unit test environment.
DatabaseConnectionTestCase::testConnectionOptions
in drupal/
modules/
simpletest/
tests/
database_test.test
Tests the connection options of the active database.
DatabaseConnectionTestCase::testConnectionRouting
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that connections return appropriate connection objects.
DatabaseConnectionTestCase::testConnectionRoutingOverride
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that connections return appropriate connection objects.
DatabaseLoggingTestCase::testEnableMultiConnectionLogging
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that we can log queries separately on different connections.
DatabaseLoggingTestCase::testEnableTargetLogging
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that we can log queries against multiple targets on the same connection.
DrupalUnitTestCase::setUp
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Sets up unit test environment.
DrupalWebTestCase::changeDatabasePrefix
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Changes the database connection to the prefixed one.