Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing database.sql content into local db #196

Open
Pole-web-EHESS opened this issue Oct 31, 2018 · 0 comments
Open

Error importing database.sql content into local db #196

Pole-web-EHESS opened this issue Oct 31, 2018 · 0 comments

Comments

@Pole-web-EHESS
Copy link

From the readme file :

  • Get the database.sql file from the root directory and import that to your database.

Percona Server 5.7 :
"ERROR 1292 (22007) at line 752: Incorrect datetime value: '0000-00-00 00:00:00' for column 'created' at row 1".

Seems my install of MySQL runs in strict mode, I'll try to turn it off and see how it goes (SQL_MODE to NO_ENGINE_SUBSTITUTION). However, how about putting a real date as a default value (something like "1970-01-01 08:00:00") to get rid of this error ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant