In the settings.php file, $databases is an array composed of multiple database connection strings. Here’s the default syntax, specifying a single connection: array( 'driver' => 'mysql', 'database' => 'databasename', 'username' => 'username', 'password' => 'password', 'host' => 'localhost', 'port' => 3306, 'prefix' => 'myprefix_', ); As an example, you might have two databases, the default database (in this case named D7) and a legacy database as defined here. $databases = array ( 'default' => array ( 'default' => array ( 'driver' => 'mysql', 'database' => 'd7', 'username' => 'username', 'password' => 'userpassword', 'host' => 'localhost', 'port' => ...