I often switch between different dbs at the same
destination in my code. Which means that I inevitably
get confused about exactly which one I am connected to
at any one time.
It would be nice if I could just check some attributes
on the connection object to find out who I am connected
as and which database I am using.
The connection object currently has methods to
determine host, server and protocol information but I
presume these are provided by the underlying library.
I've searched through the MySQL and MySQL Python
documentation and I cant find a way to get this
information at the moment.