Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Each time I open MySQL Workbench, I get this annoying message at the bottom of the screen saying "Orphaned document changes detected". It comes up whether I close all the SQL Editor workspaces or not. Dismissing the error doesn't help either. I did a Google search of the exact error message but it only yields four results.

Anyone here who has faced the same issue in the past? How do I clean up these "orphaned documents" or completely disable this message?

FYI: I'm using Windows 7 Ultimate x64 and the only customization that's made to MySQL Workbench is that I've disabled the query results limit.

share|improve this question
    
Also tried upgrading my Workbench, but that didn't help either. I'm using version 5.2.38 –  Zishan Mar 30 '12 at 22:49
    
I think this question should be moved to Superuser –  m0ntassar Mar 31 '12 at 10:28

3 Answers 3

up vote 5 down vote accepted

In my case, the problem was caused by deleting the connection with orphaned document changes.

The solution for OpenSuse Linux:

  • Locate ~/.mysql/workbench/sql_workspaces/your connection name.autosave directory
  • Delete it.

As simple as that.

On Windows, the above directory should be located somewhere in AppData.

share|improve this answer
    
Yup, your answer knocked the problem out. Thanks! For Windows users, the sql_workspaces directory is in: C:\Users\<username>\AppData\Roaming\MySQL\Workbench\ (just in case anyone stumbles into this issue). I deleted whatever directory was within that. –  Zishan Apr 24 '12 at 22:40

On Mac OS X the location is:

~/Library/Application Support/MySQL/Workbench/sql_workspaces

delete all the files therein, open mysqlworkbench

share|improve this answer

Stop MySQL Workbench and run the Windows Explorer. Change to the directory of the Workbench application data, for example:

C: \ Users \ AppData \ Roaming \ MySQL \ Workbench \ sql_workspaces \

Delete the contents of this directory to fix the problem. For security reasons you may first make a copy of the data.

share|improve this answer
2  
No need to duplicate post answers, especially those from many months ago. –  Brent Pabst Oct 9 '12 at 17:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.