I found your database mariadb installed on your system but database tables still using myisam storage-engine. It's bad combination.
You must run 'sh /script/mysql-convert --engine=innodb' to convert tables to innodb.
You have 2 options:
1. Use MariaDB or mysql55 and then convert tables to innodb, or
2. downgrade to mysql51 and stay with myisam