An improvement on my earlier post.
Now you can just execute a portion of your sql the whole thing and jump to errors:
Before running command: Do nothing Command: [your path to mysql if not in bash's path environment variable]/mysql -u[your username here] -p[your password here] Standard Input: Selected Text or Entire Document Standard Output: Show in separate window Pattern: ERROR (\d+) at line (\d+): (.*) Format String: $3 Line: 2