I have just switched from a MAMP installation to a native Apache, MySql and PHP installation. I have got everything working, but I have started using my web app in the new e
MySQL is most likely in STRICT mode.
Try running SET GLOBAL sql_mode='' or edit your my.cnf to make sure you aren't setting STRICT_ALL_TABLES or the like.
SET GLOBAL sql_mode=''
STRICT_ALL_TABLES