Closed aescasio closed 7 years ago
Sorry, I got it now: Just want to share in such cases that happens to you.
I install Laravel and migrate the table with engine => null by default before the installation of Aimeos.
To solve the problem I just alter my users table to ENGINE=INNODB.
Sorry to bother anyone reading this.
Hi,
Got MySQL error "1071 Specified key was too long; max key length is 1000 bytes" when I execute the "php artisan aimeos:setup".
I followed the installation steps found: https://github.com/aimeos/aimeos-laravel
Exact error:
[Aimeos\MW\DB\Exception] Executing statement "CREATE INDEX users_status_address1_address2_index ON users (status, address1, address2)" failed: An exception occur red while executing 'CREATE INDEX users_status_address1_address2_index ON users (status, address1, address2)': SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
Vesions I used: MySQL v.5.7.14 Laravel 5.3.30
Inside composer.json
I also tried changing the engine from "null" to "InnoDB ROW_FORMAT=DYNAMIC"
My.ini: sort_buffer_size = 2M