When running the database upgrade from within Open-AudIT if you have MySQL masterPrimary/slave poller replication configured, you may receive an error as follows:
...
The solution to this is to log in to the MySQL server as root (on the masterPrimary) and run the following command.
...
The issue is the binary logging used in replication, as described on this page http://dev.mysql.com/doc/refman/5.7/en/stored-programs-logging.html.