Added check for the mysql server version to determine whether or not dump the databases with the --events option or not