Skip to content

Error importing database.sql content into local db #196

Open
@Pole-web-EHESS

Description

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions