It's possible to configure Drupal to connect to many different databases in settings.php. Currently the dba module is only able to work with the default database. This feature request is to provide a mechanism for selecting and working with any database defined in settings.php.

Comments

jeremy’s picture

jeremy’s picture

Initial support for this was committed here, though it's dependent on the above core patch getting in:
http://drupal.org/cvs?commit=329492

Currently only the 'list tables' and 'define tables' commands are working on remote databases.

bradjones1’s picture

Using the code in -dev, and getting $table list from db_find_tables(), both still list the tables in the default db, not the selected target. This is despite the ticket above being long-since-committed, so not sure where the error lies. Anybody successfully navigated this?