Can I require confirmation on all destructive operations on a MySQL database? -
i have local mysql database i'm playing manually. can use safe-updates / i-am-a-dummy
options disallow unqualified delete statements:
delete table;
however, can still lose accidental
truncate table table;
as latter statement not prevented safe-updates
. apart backing database, what's best way prevent data loss here? there way require confirmation before all destructive actions, not delete?
Comments
Post a Comment