You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
I have an issue with mbzdb.
When i try to create all the index on my database, i get :
Option: 5
The most time consuming option. This will apply indexing to your already loaded
database. If using PostgreSQL, apply the index after you load the raw data because
it is faster.... if you cancel, you can safely return by running this again.
Ready to proceed? (y/n): y
CREATE UNIQUE INDEX artist_alias_idx_locale_artist ON artist_alias (artist,locale(256))
DBD::mysql::db do failed: Specified key was too long; max key length is 767 bytes at src/functions.pl line 92, line 288.
SQL: 'CREATE UNIQUE INDEX artist_alias_idx_locale_artist ON artist_alias (artist,locale(256))'
Have you an idea, on how to fix this issue ?
thx,
ML
The text was updated successfully, but these errors were encountered:
This error has to do with the charset that you are using with the innodb mysql engine. This error occurred when I was using the utf8 charset, but did not occur with the latin1 charset. This is a result of the maximum index limitation of innodb engine which is 767 bytes.
Hi,
I have an issue with mbzdb.
When i try to create all the index on my database, i get :
Option: 5
The most time consuming option. This will apply indexing to your already loaded
database. If using PostgreSQL, apply the index after you load the raw data because
it is faster.... if you cancel, you can safely return by running this again.
Ready to proceed? (y/n): y
CREATE UNIQUE INDEX
artist_alias_idx_locale_artist
ONartist_alias
(artist
,locale
(256))DBD::mysql::db do failed: Specified key was too long; max key length is 767 bytes at src/functions.pl line 92, line 288.
SQL: 'CREATE UNIQUE INDEX
artist_alias_idx_locale_artist
ONartist_alias
(artist
,locale
(256))'Have you an idea, on how to fix this issue ?
thx,
ML
The text was updated successfully, but these errors were encountered: