I get the error SQL Error [1525] [HY000]: Incorrect DATETIME value: '' when running following query:
SELECT * FROM mytable where date_time_column >=''
The query was working for the past few months and it started giving the above error since yesterday.
My MySQL version is 8.0.17.
I tried running the code via older versions of my code and still get the same error. Even trying it in MySQL Workbench gives the same error.
What Database config changes would have caused this?