Skip to content

mysql 8 throw error on varchar(255) table creation on myisam engine #2349

@AnnieRuru

Description

@AnnieRuru

Describe the bug
mysql 8 doesn't allow table creation with varchar(255) on myisam engine
https://stackoverflow.com/questions/1814532/1071-specified-key-was-too-long-max-key-length-is-767-bytes
https://stackoverflow.com/questions/20014106/how-to-create-this-table-1071-specified-key-was-too-long-max-key-length-is/42497309

To Reproduce
Steps to reproduce the behavior:

  1. install mysql 8
  2. run sql-files/main.sql

Expected behavior
.........

Screenshots
mysql8

System specs (please complete the following information):

  • OS: [e.g. windows 7, 64-bit]
  • Hercules Version [e.g. v2019.01.01]
  • Mode: [renewal]
  • Packet version: still setting up test server
  • Client type: still setting up test server

Plugins used or source modifications
still setting up test server

Additional context
rathena/rathena#3093

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:coreAffecting the Hercules core (i.e. not the game mechanics directly)status:confirmedIssue is valid and can be reproduced

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions