ITI-1505: Acceptance SQL errors after weekend

UPDATE: Without the reboot the db-parameter-group for the instance remains in the "pending-reboot" status. The cause is that the applying method for the parameters in the db-parameter-group ts2-default is, at least for some of the parameters, pending-reboot. I dont think it is possible to set the applying method for the whole ts2-default parameter-group from the command line. The only command available in the CLI is:
rds-modify-db-parameter-group ts2-accept --parameters "name=max_user_connections, value=24, method=immediate" "name=max_allowed_packet, value=1024, method=immediate" ...
So you have to set for every parameter in db-parameters-group method=immediate

So I see 2 methods:
- specify each parameter that is modified from the default.mysql5.6 db-parameter-group and set method=immediate for each of them in the script
- see if the interface does not provide an easier way

I think it is a good idea to leave the --apply-immediate because I think that parameters that have the method set as immediate get applied immediately. And the pending-reboot ones are applied at reboot.
We can set method=immediate for the sql_mode parameter only and do not reboot. And although not all parameters will be applied, the one that permits us to insert the data will get loaded.
But the safer way is to leave the reboot or to set all the parameters in the ts2-default as method=immediate.