Protect Mysql table against drop

Asked

Viewed 28 times

0

I have a Wordpress module (Cerber) that for some obscure reason, is deleting a table (cerber_files). The developer does not manifest.

I wonder if there are any commands that prevent a mysql table from being deleted (drop)?

1 answer

0

  • Thank you for the answer. I tried to do REVOKE DROP ON cerber_files FROM rogeriod_sestra; via Phpmyadmin but apparently the command REVOKE is not being recognized: Error
Static analysis:

1 errors were found during analysis.

Unrecognized statement type. (near "REVOKE" at position 0)
SQL query:

REVOKE DROP ON cerber_files FROM rogeriod_sestra

MySQL said: Documentation

#1142 - GRANT command denied to user 'rogeriod'@'localhost' for table 'cerber_files'

Browser other questions tagged

You are not signed in. Login or sign up in order to post.