Apply upgrade only for MySQL with non InnoDB table
Use database() for current schema
Fix binaries table engine