You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surprisingly this error disappears most of the time, and the app works fine when stopped and started again just after the error occurs.
As evident from the error message, it has something to do with default values for timestamp columns.
I suspect setting some MySQL modes might have something to do with this error. However, I am not sure, since this error occurs randomly even when testing with the same CSV files.
SET GLOBAL SQL_MODE="NO_BACKSLASH_ESCAPES,NO_ENGINE_SUBSTITUTION,NO_ZERO_IN_DATE";
When running the application sometimes MySQL gives an error like:
Surprisingly this error disappears most of the time, and the app works fine when stopped and started again just after the error occurs.
As evident from the error message, it has something to do with default values for timestamp columns.
I suspect setting some MySQL modes might have something to do with this error. However, I am not sure, since this error occurs randomly even when testing with the same CSV files.
MySQL docs, regarding the NO_ZERO_IN_DATE mode.
The text was updated successfully, but these errors were encountered: