Hello,

I am using a dbi handle shared among many packages in my code. Some
package might do a "USE db-name" and change the database. Is it possible
to get the current database name of a dbi handle, either through DBI or
the DBD:mysql driver? In mysql I could do a "SELECT DATABASE()" query,
but I would prefer not to send a query to the server for efficiency.

Thanks in advance,
Kostas

Reply via email to