MySQL ignores my.cnf settings

Hi.
I installed mysql57 to a FreeBSD VMware machine on Windows.
In var/db/mysql iI created a my.cnf:
Code:
[mysqld]

sql_mode=NO_ENGINE_SUBSTITUTION

But mysql ignore sql_mode settings.

How iI can disable STRICT_TABLES, NO_ZERO_IN_DATE?
 
An other approach might be to define mysql_args="--sql-mode=STRICT_ALL_TABLES,NO_ZERO_IN_DATE" to /etc/rc.conf.

I don't know if it is relevant but in one of my my.ini (on an other OS), I see I have used sql-mode=..., not sql_mode=....
 
Back
Top