Jump to content

[SOLVED] mysql undo


rugzo

Recommended Posts

Hi all,

 

i made a teribble mistake by replacing values in my table. I used the replacement function in sql and made a query --> replace(field_name, 'value which should be replaced', value which i want to replace'). I made a mistake and choose a wrong field and was also stupid to make no backup.

Is there any way to undo this. Maybe a log file or i don't know something. I am using xampp & phpmyadmin. I know i cannot do an undo with phpmyadmin but is there maybe any log file which shows the last query in xx place where i can copy paste the content and delete the bay statement query...

 

Please if someone do a trick so please tell me. I am talking about 1300 values and this is not for my own use but at work...

 

thanks in advance...

Link to comment
Share on other sites

A backup would have been your only way. Unfortunate but no one can help you. I do not think that without using transactions you can un-do this in MySQL.

 

Moving to the MySQL forum as someone there may know a way and that is the proper place for this.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.