MySQL/UTF-8: Issue while executing nova-manage db sync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
OpenStack Compute (nova) |
Fix Released
|
Low
|
Peng Yong |
Bug Description
When executing "/usr/bin/
Nova compute is trying to configure with MY SQL 5.1.53
(nova): TRACE: raise errorclass, errorvalue(nova): TRACE: OperationalError: (OperationalError) (1071, 'Specified key was too long; max key length is 1000 bytes') '\nCREATE TABLE user_project_
Changed in nova: | |
importance: | Undecided → Low |
status: | Incomplete → Confirmed |
In UTF-8, PRIMARY KEY (user_id, project_id) with user_id VARCHAR(255) project_id VARCHAR(255) ends up being bigger than 1000 bytes.
Could you try "latin1" as the default charset ?