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 #186

Closed
liomj opened this issue Oct 6, 2022 · 3 comments
Closed

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

liomj opened this issue Oct 6, 2022 · 3 comments

Comments

@liomj
Copy link
Contributor

liomj commented Oct 6, 2022

Unable to install suico. Error(s):

Installing Social Network

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

Latest from github suico

XOOPS Version XOOPS 2.5.11-Beta2
PHP Version 7.4.29
MySQL Version 5.5.5-10.4.24-MariaDB
@mambax7
Copy link
Collaborator

mambax7 commented Oct 6, 2022

Which one was it?
When you get this kind of a message, please look at the "Queries" and it will show you in red which exactly table caused that issue.

@liomj
Copy link
Contributor Author

liomj commented Oct 6, 2022

0.000222 - CREATE TABLE suico_profile_regstep ( step_id SMALLINT(3) UNSIGNED NOT NULL AUTO_INCREMENT, step_name VARCHAR(255) NOT NULL DEFAULT '', step_desc TEXT, step_order SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0', step_save TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (step_id), KEY sort (step_order, step_name) ) ENGINE = MyISAM
Error number: 1071
Error message: Specified key was too long; max key length is 1000 bytes

error when installing

@mambax7 mambax7 closed this as completed in 7fc67ed Oct 6, 2022
@mambax7
Copy link
Collaborator

mambax7 commented Oct 6, 2022

Fixed in 7fc67ed

mambax7 added a commit to mambax7/suico that referenced this issue Oct 6, 2022
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

2 participants