Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Database: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes" #108

Closed
selfphp opened this issue Jul 30, 2019 · 1 comment

Comments

@selfphp
Copy link

selfphp commented Jul 30, 2019

During installation (Shopware 6 Early Access), some tables are not created in InnoDB, but in MyISAM. As a result, the following error may occur (if no default storage engine has been set):

Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes "

One can eliminate the error by entering the following value in the * .ini:

default-storage-engine = InnoDB

However, it would be nice if the installation of the tables is implemented properly.

@pweyck
Copy link
Collaborator

pweyck commented Jul 31, 2019

Thank you for reporting this. This issue will be fixed with the next release, see:
https://github.com/shopware/platform/blob/3c186a179ecfaed80ed16cf0c9c0f5a2dcd3277b/src/Core/Framework/Migration/MigrationRuntime.php#L93-L96

@pweyck pweyck closed this as completed Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants