Skip to content

Unable to create searchindex table on hosts that don't support MyISAM #6389

Description

@stevecomrie

Description

Installation of Craft fails on hosts or systems that don't support the MyISAM storage engine. The searchindex table appears to be the only table that uses MyISAM, all the other tables use InnoDB.

I realize that not many hosts have MyISAM disabled, but on the off chance that you come across one that does, the error messages MySQL returns are less than clear.

I my case I was receiving an error that incorrectly indicated the system was out of disk space.

Switching the storage engine to InnoDB and creating the searchindex table manually solved the issue.

Steps to reproduce

  1. Attempt any installation or migration on/to a host running MySQL with MyISAM support disabled (i.e. Microsoft Azure MySQL instances)
  2. You will likely receive an error along the lines of "MySQL Error Code: 1030. Got error -1 from storage engine;"

Additional info

  • Craft version: Any
  • PHP version: Any
  • Database driver & version: MySQL without MyISAM storage engine support

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions