Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-14884

Failed to enable encryption of temporary files in mariadb 10.3.3

    XMLWordPrintable

Details

    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?

      Attachments

        Activity

          People

            serg Sergei Golubchik
            atomd atomd
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.