Skip to content

Commit

Permalink
Docs: Add troubleshooting chapter
Browse files Browse the repository at this point in the history
I would guess that the Key too long error happens quite frequently
  • Loading branch information
Michael Friedrich committed Apr 17, 2019
1 parent e32db94 commit 5b7cd06
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/70-Troubleshooting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Troubleshooting <a id="troubleshooting"></a>

## MySQL Import: Key too long <a id="troubleshooting-mysql-schema-key"></a>

MySQL schema import fails like this:

```
ERROR 1071 (42000) at line 1: Specified key was too long; max key length is 767 bytes
```

Ensure to follow the [database setup](02-Installation.md#installation-database-setup)
and enable `innodb_large_prefix` in your database server configuration.

0 comments on commit 5b7cd06

Please sign in to comment.