Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3.3, 10.1(EOL), 10.2(EOL)
-
None
Description
I want to use rest encryption and set encrypt-tmp-files in the config file, and encounter the following error:
mariadb_1 | ERROR: mysqld failed while attempting to check config
|
mariadb_1 | command was: "mysqld --verbose --help --log-bin-index=/tmp/tmp.5KIX2Ab1Oo"
|
mariadb_1 |
|
mariadb_1 | 2018-01-07 8:58:45 0 [Note] Plugin 'FEEDBACK' is disabled.
|
mariadb_1 | 2018-01-07 8:58:45 0 [Warning] Could not open mysql.plugin table. Some options may be missing from the help text
|
mariadb_1 | 2018-01-07 8:58:45 0 [ERROR] Failed to enable encryption of temporary files
|
mariadb_1 | 2018-01-07 8:58:45 0 [ERROR] Aborting
|
config file is:
[mysqld]
|
|
plugin-load-add = file_key_management
|
file-key-management-filename = /mnt/keys/keys.enc
|
file_key_management_filekey = secret
|
file_key_management_encryption_algorithm = AES_CTR
|
|
innodb-encrypt-tables
|
innodb-encrypt-log
|
innodb-encryption-threads = 4
|
innodb-tablespaces-encryption
|
|
aria-encrypt-tables
|
encrypt_binlog
|
encrypt-tmp-files
|
encrypt-tmp-disk-tables = 1
|
I run mariadb(10.3.3) in docker. when I set encrypt-tmp-files = 0, everything is fine.
How can I fix it?