How do you find out the last time a MySQL database was read or written to?
Can you even do that check per table?
check out command SHOW TABLE STATUS; example: SHOW TABLE STATUS WHERE name="table_name_here", you need value from column Update_time
SHOW TABLE STATUS