diff --git a/kernel/setup/steps/ezstep_create_sites.php b/kernel/setup/steps/ezstep_create_sites.php
index <HASH>..<HASH> 100644
--- a/kernel/setup/steps/ezstep_create_sites.php
+++ b/kernel/setup/steps/ezstep_create_sites.php
@@ -492,10 +492,14 @@ class eZStepCreateSites extends eZStepInstaller
 
                         if ( $db->databaseName() == 'mysql' )
                         {
-                            // We try to use InnoDB table type if it is available, else we use the default type.
-                            $innoDBAvail = $db->arrayQuery( "SHOW VARIABLES LIKE 'have_innodb';" );
-                            if ( $innoDBAvail[0]['Value'] == 'YES' )
-                                $params['table_type'] = 'innodb';
+                            $engines = $db->arrayQuery( 'SHOW ENGINES' );
+                            foreach( $engines as $engine ) {
+                                if ( $engine['Engine'] == 'InnoDB' && in_array( $engine['Support'], array( 'YES', 'DEFAULT' ) ) )
+                                {
+                                    $params['table_type'] = 'innodb';
+                                    break;
+                                }
+                            }
                         }
 
                         if ( !$dbSchema->insertSchema( $params ) )
Replace deprecated check for innodb support

Since MySQL <I>, the server variable `have_innodb` has been removed. The command `SHOW ENGINES` instead is supported since MySQL <I>.

See <URL>