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

Mysql HA: table creation error using InnoDB and utf8 charset #5529

Closed
dle-fr opened this issue Oct 17, 2018 · 1 comment
Closed

Mysql HA: table creation error using InnoDB and utf8 charset #5529

dle-fr opened this issue Oct 17, 2018 · 1 comment

Comments

@dle-fr
Copy link
Contributor

dle-fr commented Oct 17, 2018

The issue described here : #512 is still happening when using HA with Mysql Backend ([update] Vault v0.11.3):

Error initializing storage of type mysql: failed to create mysql table: Error 1071: Specified key was too long; max key length is 767 bytes

The vault table exists, but does HA mode try to create another table to store HA lock or something? (I didn't dig into the code)

To reproduce, in conf file, just add ha_enabled = "true" in storage "mysql" section.

@dle-fr
Copy link
Contributor Author

dle-fr commented Oct 18, 2018

Changing from varchar to varbinary (as in this issue: #512) fixes the problem.

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

1 participant