have_innodb variable is deprecated and removed in MySQL 5.6.

SHOW ENGINES used to check InnoDB.

see http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_have_innodb