Answers.Body: <p>Just go to <code>civicrm/install/index.php</code> and change the line with code <code>if ( $dbName != 'Drupal' )</code> and either exclude the entire if statement (comment it out) or change it to <code>if(true)</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-10T02:52:17.737Z
Answers.Text: This doesn't work and needs to be edited for clarity and more detail.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-10T05:49:29.430Z
Answers.Text: are you installing a stand alone civic crm or with in drupal/jumula framework?
Answers.UserDisplayName: joash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-10T06:17:05.267Z
Answers.Text: It is part of Drupal and I was able to get it to work after I figured out what you mean. I commented out the entire if argument.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-10T08:34:49.003Z
Answers.Text: sweet you can kindly flag the answer as useful with a few more details you find needful
Answers.UserDisplayName: joash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-14T11:01:53.870Z
Answers.LastActivityDate: 2018-12-12T08:30:46.040Z
Answers.LastEditDate: 2018-12-12T08:30:46.040Z
Answers.UserDisplayName: joash
Body: <p>I'm trying to install an old CiviCRM version on Drupal 6, the purpose is to migrate an old database data to the latest CiviCRM version, but I'm getting this error when I try to install CiviCRM in a clean Drupal install:</p>
  
  <p><code>Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL database server.</code></p>
  
  <p>Everything else seems to be ok, I'm gettinig this error in a windows environment. First I tried with wamp, now I'm trying with Laragon. I tried also with vagrant and homestead which is a linux environment I think, same results.</p>
  
  <p>I tried setting innoDB as the default engine and a lot stuff that is there on internet, but anything seems to work. Any idea?</p>
  
  <p><a href="https://i.sstatic.net/yDwUe.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yDwUe.png" alt="Error"></a></p>
  
  <p>This is what "SHOW ENGINES" return:</p>
  
  <p><a href="https://i.sstatic.net/Vcx5G.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Vcx5G.png" alt="SHOW ENGINES"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-23T08:57:57.023Z
Comments.Text: What does 'show engines' produce?  https://dev.mysql.com/doc/refman/5.7/en/innodb-check-availability.html
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-23T15:16:22.437Z
Comments.Text: @Aidan I've added a new picture, as you can see, InnoDB is enabled and is the default engine
Comments.UserDisplayName: César Escudero
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-06T11:39:32.530Z
Comments.Text: I'm having the same issue on a unix system running AMPPS. I'm trying to install an old version of CiviCRM (3.3.6 on Drupal 6) for the purpose of upgrading to the latest version of CiviCRM and Drupal 7 to ensure PHP 7.1 compatibility. I also show InnoB as the default. @CésarEscudero, did you figure this out?
Comments.UserDisplayName: Christia
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-06T11:47:16.877Z
Comments.Text: Check here. Sounds like we need a lower mysql version and need to check file permissions: https://civicrm.stackexchange.com/questions/9448/innodb-is-default-but-cant-install
Comments.UserDisplayName: Christia
Tags: <drupal><installation><upgrade><migration>
Title: Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL database server
ThreadText: # Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL database server
  
  (Asked by: username_0 on 2018-10-22)
  
  I'm trying to install an old CiviCRM version on Drupal 6, the purpose is to migrate an old database data to the latest CiviCRM version, but I'm getting this error when I try to install CiviCRM in a clean Drupal install:
  
  `Unable to create InnoDB tables. MySQL InnoDB support is required for CiviCRM but is either not available or not enabled in this MySQL database server.`
  
  Everything else seems to be ok, I'm gettinig this error in a windows environment. First I tried with wamp, now I'm trying with Laragon. I tried also with vagrant and homestead which is a linux environment I think, same results.
  
  I tried setting innoDB as the default engine and a lot stuff that is there on internet, but anything seems to work. Any idea?
  
  [![Error](https://i.sstatic.net/yDwUe.png)](https://i.sstatic.net/yDwUe.png)
  
  This is what "SHOW ENGINES" return:
  
  [![SHOW ENGINES](https://i.sstatic.net/Vcx5G.png)](https://i.sstatic.net/Vcx5G.png)
  
  **Tags:** drupal, installation, upgrade, migration
  
  > **Comments:**
  > **username_1**: What does 'show engines' produce?  https://dev.mysql.com/doc/refman/5.7/en/innodb-check-availability.html  
  > **username_0**: @username_1 I've added a new picture, as you can see, InnoDB is enabled and is the default engine  
  > **username_2**: I'm having the same issue on a unix system running AMPPS. I'm trying to install an old version of CiviCRM (3.3.6 on Drupal 6) for the purpose of upgrading to the latest version of CiviCRM and Drupal 7 to ensure PHP 7.1 compatibility. I also show InnoB as the default. @CésarEscudero, did you figure this out?  
  > **username_2**: Check here. Sounds like we need a lower mysql version and need to check file permissions: https://civicrm.stackexchange.com/questions/9448/innodb-is-default-but-cant-install  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-11-14. Score: 1
  
  Just go to `civicrm/install/index.php` and change the line with code `if ( $dbName != 'Drupal' )` and either exclude the entire if statement (comment it out) or change it to `if(true)`.
  
  > **Comments:**
  > **username_2**: This doesn't work and needs to be edited for clarity and more detail.  
  > **username_3**: are you installing a stand alone civic crm or with in drupal/jumula framework?  
  > **username_2**: It is part of Drupal and I was able to get it to work after I figured out what you mean. I commented out the entire if argument.  
  > **username_3**: sweet you can kindly flag the answer as useful with a few more details you find needful  
  
  ---
  
  