error on install sample data
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
error on install sample data
i have try install sample data with this command: php bin/console aimeos:setup
i have return:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
https://imgur.com/RxFO7q2
how i can reasolve?
i have return:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
https://imgur.com/RxFO7q2
how i can reasolve?
Re: error on install sample data
This is an MySQL < 5.7.8 issue in combination with utf8mb4. You should set the character set to utf8 and your collation to utf8_bin instead in your config: https://github.com/aimeos/aimeos-symfon ... op.yml#L30
Note: You have to recreate your tables afterwards
Note: You have to recreate your tables afterwards
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: error on install sample data
works it, thanks!aimeos wrote:This is an MySQL < 5.7.8 issue in combination with utf8mb4. You should set the character set to utf8 and your collation to utf8_bin instead in your config: https://github.com/aimeos/aimeos-symfon ... op.yml#L30
Note: You have to recreate your tables afterwards
-
- Posts: 1
- Joined: 17 Sep 2019, 09:02
Re: error on install sample data
Ok.
And how to install sample data using zip if already downloaded without CLI?
And how to install sample data using zip if already downloaded without CLI?
Re: error on install sample data
The sample data is included in the package (no separate zip file) and you can install it using:
Code: Select all
php bin/console aimeos:setup --option=setup/default/demo:1
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star