Anne
Verified User
- Joined
- Dec 3, 2015
- Messages
- 72
Hi,
I don't want MariaDB to run in strict mode so I've added:
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
to: etc/my.cnf
This works, but the downside is I can't backup or restore without getting an empty database and errors like:
Unable to restore database dbexample.sql to dbexample : /usr/bin/mysql: unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'
Any thoughts what to do?
I don't want MariaDB to run in strict mode so I've added:
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
to: etc/my.cnf
This works, but the downside is I can't backup or restore without getting an empty database and errors like:
Unable to restore database dbexample.sql to dbexample : /usr/bin/mysql: unknown variable 'sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES'
Any thoughts what to do?