When you debug Database::$instances or Database::$instances you'll see all instances and the protected property _current_databases, maybe this helps
Database::$instances;
Database_MySQL::$instances;
If this doesn't work, you chould execute a query directly to the DB with the MySQL command
SELECT DATABASE();