Mircea Posted June 7, 2021 Share Posted June 7, 2021 Hello, I'm trying to upgrade from 2.3.0 to 2.3.1 but I'm keep receiving this error: Failed to import database codes. Error message: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'suspend_date' Any solution to solve this error? Thanks, Mircea. Quote Link to comment Share on other sites More sharing options...
0 Staff Member Onur Posted June 7, 2021 Staff Member Share Posted June 7, 2021 1 hour ago, Mircea said: Hello, I'm trying to upgrade from 2.3.0 to 2.3.1 but I'm keep receiving this error: Failed to import database codes. Error message: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'suspend_date' Any solution to solve this error? Thanks, Mircea. Hi @Mircea This is due to SQL strict mode being enabled. Please visit the link below for detailed information. https://docs.wisecp.com/en/kb/mysql-strict-mode-issue Quote Helpful links : Developer Center | Usage Guide | Translate | What's New? Link to comment Share on other sites More sharing options...
0 Mircea Posted June 7, 2021 Author Share Posted June 7, 2021 Hello, Problem solved after made that modification in my.cnf file. Thanks, Mircea 1 Quote Link to comment Share on other sites More sharing options...
Question
Mircea
Hello,
I'm trying to upgrade from 2.3.0 to 2.3.1 but I'm keep receiving this error:
Failed to import database codes. Error message: SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'suspend_date'
Any solution to solve this error?
Thanks,
Mircea.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.