I have sql in a file, which contains a number of statements. How can I get mysql to check the validity of the sql without executing it?
Something like