Error: Field does not have a default value

Field ‘post_edit_reason’ does not have a default value [1364]
or
Field ‘topic_last_poster_name’ does not have a default value [1364]
or other similar
Reason
The transition from MySQL 4 to MySQL 5
RESOLUTION

1. Create a new database,
2. Install it again phpBB3,
3. In the old phpBB3 by ACP export the same data,
4. Import them to the new database.