Take a look here: http://community.landesk.com/support/docs/DOC-22483
Other way could be Test to Live, but I didn't tested T2L in such case. Myabe will work - your "broken" DB as a source, and fresh one as a Live system...
This answer was correct, but keep in mind that when you run your query, to make sure that MySQL has the correct database selected on the upper left of the screen. It often defaults to the wrong one and if you don't work in SQL often, you won't think to look.