When I upgraded to Ubuntu 16.0x, some of my older apps began breaking. MySQL 5.7 uses stricter query rules that break some applications (that might have security flaws).
Here’s how to turn off strict mode. Create a helpfully named .cnf file:
Add these lines:
And restart MySql, and that’s it:
sudo systemctl restart mysql
Source I found it at grabbed it from ServerPilot. And, there’s a nice sql query test to tell you if it works there.