Since a Mariadb update, every field in my databases requires a default value. A simple insert or update generates this error. error msg: Field 'publicfileid' doesn't have a default value. Anyone seen and solved this before ?
Most likely running in strict mode. look in your my.cnf/ini file and see if STRICT_TRANS_TABLES is set.
Also you can execute a command: SET GLOBAL sql_mode=''; Code (SQL): But after reboot, you need execute this command again. The best solution is remove "STRICT_TRANS_TABLES" from "sql-mode" variable in file "my.cnf".