Take the 2-minute tour ×

how can I get currently used database name in Kohana 3.2?

I've got app(store) with multiple db's and I need to debug whole app if it's working properly.

Kind regards Mark

share|improve this question

1 Answer 1

up vote 0 down vote accepted

When you debug Database::$instances or Database::$instances you'll see all instances and the protected property _current_databases, maybe this helps


If this doesn't work, you chould execute a query directly to the DB with the MySQL command

share|improve this answer

Your Answer


