Read more

See which MySQL database is currently in use

Deleted user #6
September 12, 2012Software engineer

When you work in the MySQL console and you want to see which database is used, type:

SELECT database();
Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show snapshot

The result you see is the database you would activate with

USE database_name;
Posted to makandra dev (2012-09-12 16:29)