Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3802754
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:15:27+00:00 2026-05-19T14:15:27+00:00

How to undo a query execution in phpmyadmin. Any rollback functionality is there? any

  • 0

How to undo a query execution in phpmyadmin.

Any rollback functionality is there? any body knows the solution kindly help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:15:28+00:00Added an answer on May 19, 2026 at 2:15 pm

    If the statement is still running you can use KILL QUERY <thread_id>.

    If the statement has completed but you have not yet committed the transaction you can use ROLLBACK.

    If the statement has completed and the transaction is already committed (or you didn’t start a transaction) then restore the data from your most recent backup.


    Also here are some tips advice in order to prevent this type of situation happening in the first place:

    • When writing a DELETE or UPDATE always write the WHERE clause first so that you don’t forget it.
    • Test your WHERE clause in a SELECT statement to make sure you are updating the correct rows.
    • If you know you should only be updating one row then you can add LIMIT 1 to your UPDATE statement. Then if despite using the above techniques you still have an error at least only one row will be affected, not the entire database.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way we can undo a SQL update query?
How can I undo the most recently executed mysql query?
I only want to undo one migration file, something like rake db:rollback VERSION=$TIMESTAMP This
I want to split mysql queries from phpmyadmin export format. Each query will be
I want to be able to undo changes made in JTextArea. Any hints?
I was wondering if there's a way of having undo redo in html form
I implemented a rollback mechanism for my php execution so if an error occurs
How do I easily undo a git rebase? A lengthy manual method is: checkout
I think it important to have an undo method ala gmail when destroying records
The WinForms TextBox has an 'Undo' command but has not a 'Redo' command -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.