S
S
seredaes2016-05-30 10:24:12
MySQL
seredaes, 2016-05-30 10:24:12

What is the error when importing a database into MySQL?

156b94c98125491cbe0586610895fc90.png
I understand the error, or rather the translation...
`date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
1. I agree that the field name is probably stupid...
2. not an empty field and autofilled! Everything seems to be ok here ...
Why does it hit an error and how to fix it? The database is working, before I edit I want to understand the problem ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
seredaes, 2016-05-30
@seredaes Автор вопроса

Вычитал, что CURRENT_TIMESTAMP не используется более для поля с типом datetime.
Вопрос, а как раньше использовалось? На сервере работает все на ура, а локальная PHPMyAdmin ругается?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question