MySQL problem - Doesn't have a default value
#4

Quote:
Originally Posted by DavidGravelli
Посмотреть сообщение
pawn Код:
[19:35:32] SQL ERROR: 1364 Field 'connecttime' doesn't have a default value
It literally means exactly what it says. The field does not have a default value. Typically an error that is seen when doing an INSERT.

Either define a default value:
Код:
ALTER TABLE table ALTER col SET DEFAULT 'asdf'
Or define the value in your query.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)