how to find who deleted database from cpanel

ankush k

Registered
Jul 26, 2011
2
0
51
Hi,

Is it possible to find out who deleted (client or me) database from the cpanel ?

Thanks
 

ankush k

Registered
Jul 26, 2011
2
0
51
Hi,

Thanks for updating us but when i go through as per your command it's coming all information.

I want to find out particular domain database then how to find out ?

Please guide us.

Thanks
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
If you are using session cookies for cPanel logins, then deletions probably won't show up in the access_log file for cPanel. You can see people visiting MySQL databases area itself in the log, but not when they remove something there typically due to the cpsess entries obfuscating the action taken.
 

astopy

Well-Known Member
Apr 3, 2003
166
0
166
cPanel Access Level
Root Administrator
Try "grep cpuser /usr/local/cpanel/logs/access_log" where cpuser is the username of the relevant cPanel account. As Tristan said, you might not necessarily be able to see the actual delete command but it should give you an idea of who was looking at the databases page at the time.