MEMO MediaWiki

From KuWiki

Jump to: navigation, search

Troubleshooting

  • Specified key was too long; max key length is 1024 bytes (localhost)

This is considered a bug in MySQL 4.1.21 (MySQL 5.0 is not affected.), resolve it by either

  1. Set the default character set of the database to latin1. (may losing Unicode compatibility)
  2. Cut the length of the columns (job_cmd and job_title) in table job. (Currently I use this solution by cutting the length of job_cmd and job_title to VARCHAR(128).)
Personal tools