Well, trying to dig into my.cnf is basically showing that there isn't one configured. I installed MySQL from the FreeBSD ports tree, and the only .cnf files are in /usr/share/mysql/my-[small|medium|large|huge].cnf; the start scripts indicates that my.cnf will be called from /var/db/mysql:TheWitness wrote:Please disable STRICT for the SQL_MODE setting in MySQL (/etc/my.cnf) and then restart MySQL. It looks like quite a bit failed with the default, which Cacti is not compatible with. After which, you should consider starting over if you are not too far along.
Code: Select all
command_args="-c -f /usr/local/bin/mysqld_safe --defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args}"
Also, in the existing my-*.cnf files, I don't see SQL_MODE specified at all, let alone as STRICT. Can I just copy one of the my-size.cnf files to /var/db/mysql, restart MySQL, and see if that fixes it?