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

Specified key was too long; max key length is 1000 bytes #286

Open
rdefinis opened this issue Sep 5, 2024 · 0 comments
Open

Specified key was too long; max key length is 1000 bytes #286

rdefinis opened this issue Sep 5, 2024 · 0 comments

Comments

@rdefinis
Copy link

rdefinis commented Sep 5, 2024

when migrating from 2024.6.2 to 2024.8.2 on a qnap nas x86 using mariadb 10

Failed executing DbCommand (4ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']

CREATE TABLE Cache (
Id varchar(449) CHARACTER SET utf8mb4 NOT NULL,
Value longblob NULL,
ExpiresAtTime datetime(6) NOT NULL,
SlidingExpirationInSeconds bigint NULL,
AbsoluteExpiration datetime(6) NULL,
CONSTRAINT PK_Cache PRIMARY KEY (Id)
) CHARACTER SET=utf8mb4;

MySqlConnector.MySqlException (0x80004005): Specified key was too long; max key length is 1000 bytes

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

1 participant