Answers for "mysql check which database is in use"

SQL
0

how to show current database in mysql

CopySELECT database();
Posted by: Guest on August-08-2020
0

check if mysql db is used

SELECT UNIX_TIMESTAMP(MAX(UPDATE_TIME)) as last_update FROM information_schema.tables WHERE TABLE_SCHEMA='replace-with-database-name' GROUP BY TABLE_SCHEMA;
Posted by: Guest on January-28-2021

Code answers related to "mysql check which database is in use"

Code answers related to "SQL"

Browse Popular Code Answers by Language