i have user table, i have 5 records ,
i delete two records , then executed the rollback command, rollback command executed successfully.
But that deleted two records not recovered ,
user table engine is innodb...
i have user table, i have 5 records ,
i delete two records , then executed the rollback command, rollback command executed successfully.
But that deleted two records not recovered ,
user table engine is innodb...
By default, MySQL starts the session for each new connection with autocommit enabled,
You could set autocommit mode disable before running your query
SET autocommit=0;
ref:
make sure you already do command start transaction;
before query delete
cmiiw