Skip to main content

How can I find out who deleted a MySQL Databse?

Comments

6 comments

  • LostNerd
    I don't believe there is a way to find this out however, if that database was still required, you should be able to retrieve it from a cpbackup file.
    0
  • em.ci
    Many thanks for your response. Then I'll try to restore. I thought it would be a way to check this. Regards, em.ci
    0
  • LostNerd
    If you open the backup file, you should find a file in there containing MySQL dumps for each database. If you re-create the database manually in cPanel, you can import that .sql file respectively. That way you do not have to restore a full backup and risk losing any changes made since that backup. Hope this helps!
    0
  • cPanelMichael
    Hello, You could review /usr/local/cpanel/logs/access_log to see if any unfamiliar IP addresses accessed cPanel under a certain username and viewed the "MySQL Databases" page. Thank you.
    0
  • em.ci
    Many thanks for your help guys! I restored the Database as you told me to do. Regards, em.ci
    0
  • LostNerd
    Thanks for updating us. Glad you've got it sorted.
    0

Please sign in to leave a comment.