mehmetserif
mehmetserif

Reputation: 1227

Who dropped all the tables in mysql database

The tables in the database i use for my website was dropped in some way. I didn't do it, but i don't know who did it. My hosting company says we didn't do either. So is there a way to know who did it? If there is a solution for it, i'll be grateful. My website is offline now.

Thanks

Upvotes: 0

Views: 85

Answers (1)

nilsole
nilsole

Reputation: 1723

Provided you do not have a backup: as Stanley has pointed out, your code might have been vulnerable. This is just one out of many possible solutions.

Small checklist:

  • Check whether the DB is accessible from outside localhost (usually it should not)
  • Check password security
  • Check who has access to your DB and whether you can trust them
  • Check your code for SQL injection vulnerability: What is SQL injection?

Upvotes: 1

Related Questions