Skip to content
This repository was archived by the owner on Aug 14, 2019. It is now read-only.

fix utf8mb4 issue#74

Open
f31n wants to merge 1 commit into
elliotchance:masterfrom
f31n:patch-1
Open

fix utf8mb4 issue#74
f31n wants to merge 1 commit into
elliotchance:masterfrom
f31n:patch-1

Conversation

@f31n

@f31n f31n commented Apr 20, 2017

Copy link
Copy Markdown

if you insert the content on a utf8mb4 scheme it throws that error:
DBD::mysql::db do failed: Specified key was too long; max key length is 767 bytes at src/functions.pl line 95, line 2.
[ERROR] SQL: 'CREATE TABLE kv (name varchar(255) not null primary key,value text) engine=InnoDB'
to fix it i changed the value from 255 to 191


This change is Reviewable

if you insert the content on a utf8mb4 scheme it thows that error:
DBD::mysql::db do failed: Specified key was too long; max key length is 767 bytes at src/functions.pl line 95, <STDIN> line 2.
[ERROR] SQL: 'CREATE TABLE kv (name varchar(255) not null primary key,value text) engine=InnoDB'
to fix it i chanched the value from 255 to 191
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant