On my BlueHost VPS I'm trying to turn strict mode off permanently, via config file. I followed this tutorial, but it didn't work.
- /etc/mysql/conf.d/disable_strict_mode.cnfdidn't exist, so I tried to create it.
- I found that /etc/existed, but nothing after that (in the path shown).
- I created /etc/mysql, thenconf.dafter that, and finally I created the filedisable_strict_mode.cnf, added the 2 lines, saved, restarted mysql. No joy.
So I'm wondering if on BlueHost (CentOS), maybe the mysql configuration file is elsewhere?
I also tried looking at /etc/my.cnf, which has lots of settings, but no [mysqld] section, and no sql_mode setting.
Question: Which file should I be editing, and if my.cnf, should I add a [mysqld] section (it doesn't exist)? Or should I be creating disable_strict_mode.cnf in some other directory?
Note: /etc/mysql/mysql.conf.d/mysqld.cnf doesn't exist on my server. Is it elsewhere? Should I be editing that file?
