Following command will let me know the names of databases.
$ mysqlshow
But how do I know the number of tables in each database and also the number of empty tables?
for e.g.
db count empty
test 10 5
mydb 122 0
client 34 34
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can select count(*) from information_schema.tables if you have priviliges on it.
and filter on table_rows column for empty yables: