What SQL command to show maximum number of active connections to MySQL database?

Question:

Which SQL command returns the number of active connections to the database?

Answer:

SHOW VARIABLES;

I put it on GitHub for future reference .

Documentation .

Scroll to Top