Closed jakkuh closed 4 years ago
Hello, starting from MySQL 5.7, the default value is more restrictive and this the reason why some users have problems with unexpected query failures after migration to 5.7 or 8.0.
Solution:
[mysqld]
sql_mode=NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Describe the bug Some MySQL errors when running PHP 7.2 and MySQL 5.7
To Reproduce Steps to reproduce the behavior:
Expected behavior There not to be a big ole errror
Screenshots https://i.imgur.com/pEKTLy9.png
Environment
Additional context Add any other context about the problem here.