Is there a way to get a list of MySQL databases ordered by creation date or last update date using a command?
Try this , if you want by update date you can order it by update_time
SELECT
table_schema,
MAX(create_time) create_time,
MAX(update_time) update_time
FROM information_schema.tables
Group by TABLE_SCHEMA
Order by create_time desc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With