Posted about 9 years ago. Visible to the public.
See which MySQL database is currently in use
When you work in the MySQL console and you want to see which database is used, type:
The result you see is the database you would activate with