I have a \"bill_date\" field that I want to be blank (NULL) until it\'s been billed, at which point the date will be entered.
I see that MySQL does not like NULL val
I had this problem on windows.
This is the solution:
To pass '' for NULL you should disable STRICT_MODE (which is enabled by default on Windows installations)
BTW It's funny to pass '' for NULL. I don't know why they let this kind of behavior.