I’m using mysqldumb command to export/import a database (syncing between two machines). It works well, but I have a couple of rows that I don’t want to be changed when importing the dumbed mysql file.
I know I can change the rows after restoring the file, but I wanted to know if a solution to prevent (a user) from changing some rows is possible.
You could create an after trigger that resets the data back to its original state if it matches certain criteria.