[MDEV-14178] can't encrypt table innodb - get errno: 140 Wrong Create Options Created: 2017-10-27 Updated: 2017-11-29 Resolved: 2017-11-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption |
| Affects Version/s: | 10.1.23 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Richard Whitney | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | encryption, innodb, need_feedback | ||
| Description |
|
Given the following command (mariadb 10.1.23 on Debian Stretch (Raspbian))
I get:
and no other error. |
| Comments |
| Comment by Richard Whitney [ 2017-10-27 ] | ||||||||||||||||||
|
Will this help?
| ||||||||||||||||||
| Comment by Elena Stepanova [ 2017-10-30 ] | ||||||||||||||||||
|
By far the most likely reason is that you don't have an encryption plugin, or it failed to start, or it is misconfigured. From the variables above it appears that at least file_key_management plugin is not installed; of course, it's possible that you are using some other plugin of your own. If you think that you do have the plugin, right after failing ALTER TABLE, run SHOW WARNINGS, like so:
It might give you some additional information about what went wrong. Also check the error log. |