What is the error when importing the database in MySQL?

156b94c98125491cbe0586610895fc90.png

Error know the exact translation...
`date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
1. I agree that the name field can be stupid...
2. not an empty field and avtozapravna! It's kind of like everything is OK...

Why has the error and how to fix? DB working, before you rule, I want to understand the problem...
July 9th 19 at 10:41
2 answers
July 9th 19 at 10:43
Solution
Update your local server.
To version 5.6 cannot be set CURRENT_TIMESTAMP as default for DATETIME fields.
I can still put the call to the function NOW() instead of CURRENT_TIMESTAMP, must ride.
July 9th 19 at 10:45
Read that CURRENT_TIMESTAMP is not being used more for fields of type datetime.
The question is, how was used? The server is running all the cheers, and the local PHPMyAdmin swears?
Early was apparently the version of MySQL is older - alia98 commented on July 9th 19 at 10:48

Find more questions by tags MySQLSQL