Last answered:

02 Dec 2021

Posted on:

02 Dec 2021

1

ROLLBACK doesn’t work. How can I solve this problem?

ROLLBACK doesn’t work. How can I solve this problem?

1 answers ( 0 marked as helpful)
Posted on:

02 Dec 2021

3

There are very few reasons that could lead to this problem. We believe there is a setting that, for some reason, has been switched on or off, and that’s what causes the issue here. In the SQL editor of MySQL Workbench, there is the possibility to toggle the autocommit mode by pressing a single button. This is the third of the three icons seen in the red rectangle. If you’ve pressed this button, it means that this mode will be turned on, and each statement will be committed immediately.

image
Please check if it has been left intact and you can see the three icons within the red rectangle in color, just as it is shown in the picture above.

(When the button has been pressed, the autocommit mode will be toggled on, and the tick and the X button will probably
appear grey.





image
If this is the case, please toggle off the autocommit button by pressing the third of the icons to see the tick and the X button in blue again.)



download.png

Submit an answer