Subject: | mysqlt.cgi sends some errors to apache log instead of browser |
I have a SQL file with a statement that SQL::Translator doesn't accept (it's an ALTER TABLE). When I run sqlt.cgi (Great idea btw!) on it, the browser (Mozilla, but I doubt it's relevant) says:
Error
translate: Error with parser 'SQL::Translator::Parser::MySQL': no results at /usr/lib/cgi-bin/sqlt.cgi line 121, line 1.
and I have to look in the Apache error log to see:
ERROR (line 230): Invalid statement: Was expecting comment, or use, or
set, or drop, or create
Clearly, it would be better if this text made it to the browser.
Thanks and regards,
Dave