Merge pull request #42 from SHSauler/patch-3

Readme Troubleshooting: Specified key was too long
pull/44/head
Hannah Ward 2018-02-14 19:17:48 +09:00 committed by GitHub
commit ddc3ed3bb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -135,6 +135,21 @@ This will open your crontab. Paste in
This will run the polling script every 6 hours to keep things all synced up. This will run the polling script every 6 hours to keep things all synced up.
## Troubleshooting
### Specified key was too long
```python
Warning: (1071, 'Specified key was too long; max key length is 767 bytes')
```
If you encounter the error above, try the following after creating the databases as per [this issue](https://github.com/MISP/MISP-Taxii-Server/issues/3#issuecomment-291875813):
```SQL
ALTER DATABASE taxiipersist CHARACTER SET latin1 COLLATE latin1_general_ci;
ALTER DATABASE taxiiauth CHARACTER SET latin1 COLLATE latin1_general_ci;
```
## Planned features ## Planned features
- Duplicate Detection - Duplicate Detection