$databases

  1. drupal
    1. 8
    2. 7

Array of database connections.

See also

default.settings.php

documentation/developer/globals.php, line 45

<?php
global $databases
?>