AMBARI-8260. Ambari upgrade from 1.6.0 and earlier fails with MySQL + InnoDB engine. (mpapyrkovskyy)