Possible problems and solutions after MySQL server upgrade
cPanel
If you encounter an error message similar to the following during the operation that you want to perform on the MySQL server:
Field 'field_name' doesn't have a default value
Then we recommend that you run the following query after building a MySQL connection...