how to check inactive databases on sever

ullalla

Well-Known Member
Jan 20, 2006
192
0
166
How we would come to know exact which databases are inactive at /var/lib/mysql?
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I suppose the date on the database itself in /var/lib/mysql/ would let you know this. There is no tool in cPanel that I'm aware of to check inactive databases, only inactive active accounts. (via WHM > Account Functions > Show Active and Inactive accounts.)
 

B12Org

Well-Known Member
Jul 15, 2003
692
1
168
Seattle Washington
cPanel Access Level
Root Administrator
you could also parse the mysql log to see which databases have had conections or which users in mysql table have connected.