MySQL Forums
Forum List  »  Newbie

Re: How to see if a database is old or recent?
Posted by: Peter Brawley
Date: June 30, 2016 09:35AM

> in order to delete a db you first must delete all tables it contains.

No. See the manual page for DROP DATABASE.

> Where can I see this 'database age / usage yes or no' info?

select table_schema,max(update_time)
from information_schema.tables
group by table_schema ;

Options: ReplyQuote


Subject
Written By
Posted
Re: How to see if a database is old or recent?
June 30, 2016 09:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.