Either apply this fix if you are able to change code and compile:
http://eqemulator.net/forums/showthread.php?t=25148
OR
Take MySQL out of strict mode by running this query at a mysql prompt:
Code:
SET @@global.sql_mode= '';
Of course, you can also uninstall MySQL, and then reinstall it remembering to uncheck strict mode during setup, though the query above does the same thing.