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
Comment #1
jeremy commentedThis is blocked by this core issue, currently:
#715476: Schema object calls Database::getConnectionInfo(), which is dumb
Comment #2
jeremy commentedInitial 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.
Comment #3
bradjones1Using 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?