Force Error to be written to MySQL's error log
Posted on 2006-07-17
I'm currently running MySQL 4.1.12 and was wondering if it is possible to force an error message to be written to the MySQL error log. I'm new to MySQL but have worked with SQL Server for over 10 years. In SQL Server you were allowed to raise an error and depending on the severity level you passed it, it could be written to the SQL Server error log.
I'm interested in doing this because we are having issues with the MySQL error log - nothing is being written to it. I'm figuring if I can at least attempt a way of forcing a bogus error message to the error log, then I can do fruther testing to see if MySQL is actually writing to the MySQL error log.
Thanks for your help in advance!