Commit da06baa1 authored by Sergei Golubchik's avatar Sergei Golubchik

mtr: *.opt files, always enable innodb-encrypt-log

because one is supposed always to use it with innodb-encrypt-tables
parent dab6c837
SET @start_global_value = @@global.innodb_encryption_threads; SET @start_global_value = @@global.innodb_encryption_threads;
SHOW VARIABLES LIKE 'innodb_encrypt%'; SHOW VARIABLES LIKE 'innodb_encrypt%';
Variable_name Value Variable_name Value
innodb_encrypt_log OFF innodb_encrypt_log ON
innodb_encrypt_tables ON innodb_encrypt_tables ON
innodb_encryption_rotate_key_age 15 innodb_encryption_rotate_key_age 15
innodb_encryption_rotation_iops 100 innodb_encryption_rotation_iops 100
...@@ -44,7 +44,7 @@ SET GLOBAL innodb_encryption_threads=@start_global_value; ...@@ -44,7 +44,7 @@ SET GLOBAL innodb_encryption_threads=@start_global_value;
# Restart mysqld --innodb_encrypt_tables=0 --innodb_encryption_threads=0 # Restart mysqld --innodb_encrypt_tables=0 --innodb_encryption_threads=0
SHOW VARIABLES LIKE 'innodb_encrypt%'; SHOW VARIABLES LIKE 'innodb_encrypt%';
Variable_name Value Variable_name Value
innodb_encrypt_log OFF innodb_encrypt_log ON
innodb_encrypt_tables OFF innodb_encrypt_tables OFF
innodb_encryption_rotate_key_age 15 innodb_encryption_rotate_key_age 15
innodb_encryption_rotation_iops 100 innodb_encryption_rotation_iops 100
......
show variables like 'innodb_encrypt%'; show variables like 'innodb_encrypt%';
Variable_name Value Variable_name Value
innodb_encrypt_log OFF innodb_encrypt_log ON
innodb_encrypt_tables ON innodb_encrypt_tables ON
innodb_encryption_rotate_key_age 2 innodb_encryption_rotate_key_age 2
innodb_encryption_rotation_iops 100 innodb_encryption_rotation_iops 100
......
--aria-encrypt-tables=ON --aria-encrypt-tables=ON
--encrypt-tmp-disk-tables=ON --encrypt-tmp-disk-tables=ON
--innodb-encrypt-tables=ON --innodb-encrypt-tables=ON
--innodb-encrypt-log=ON
--innodb-encryption-rotate-key-age=15 --innodb-encryption-rotate-key-age=15
--innodb-encryption-threads=4 --innodb-encryption-threads=4
--innodb-tablespaces-encryption --innodb-tablespaces-encryption
--aria-encrypt-tables=ON --aria-encrypt-tables=ON
--encrypt-tmp-disk-tables=ON --encrypt-tmp-disk-tables=ON
--innodb-encrypt-tables=ON --innodb-encrypt-tables=ON
--innodb-encrypt-log=ON
--innodb-encryption-rotate-key-age=15 --innodb-encryption-rotate-key-age=15
--innodb-encryption-threads=4 --innodb-encryption-threads=4
--innodb-tablespaces-encryption --innodb-tablespaces-encryption
......
--innodb-encrypt-tables=ON --innodb-encrypt-tables=ON
--innodb-encrypt-log=ON
--innodb-encryption-rotate-key-age=2 --innodb-encryption-rotate-key-age=2
--innodb-encryption-threads=4 --innodb-encryption-threads=4
--innodb-tablespaces-encryption --innodb-tablespaces-encryption
......
--aria-encrypt-tables=ON --aria-encrypt-tables=ON
--encrypt-tmp-disk-tables=ON --encrypt-tmp-disk-tables=ON
--innodb-encrypt-tables=ON --innodb-encrypt-tables=ON
--innodb-encrypt-log=ON
--innodb-encryption-rotate-key-age=15 --innodb-encryption-rotate-key-age=15
--innodb-encryption-threads=4 --innodb-encryption-threads=4
--innodb-tablespaces-encryption --innodb-tablespaces-encryption
...@@ -2,12 +2,11 @@ ...@@ -2,12 +2,11 @@
--encrypt-tmp-disk-tables=ON --encrypt-tmp-disk-tables=ON
--innodb-background-scrub-data-compressed=OFF --innodb-background-scrub-data-compressed=OFF
--innodb-background-scrub-data-uncompressed=OFF --innodb-background-scrub-data-uncompressed=OFF
--innodb-encrypt-tables=0
--innodb-encrypt-tables=ON --innodb-encrypt-tables=ON
--innodb-encrypt-log=ON
--innodb-encryption-rotate-key-age=15 --innodb-encryption-rotate-key-age=15
--innodb-encryption-threads=0
--innodb-encryption-threads=4 --innodb-encryption-threads=4
--innodb-file-format=Barracuda --innodb-file-format=Barracuda
--innodb-file-per-table=1 --innodb-file-per-table=1
--innodb-immediate-scrub-data-uncompressed=ON --innodb-immediate-scrub-data-uncompressed=ON
--loose-innodb-scrub-force-testing=ON --loose-innodb-debug-force-scrubbing=ON
--innodb-file-per-table=1 --innodb-file-per-table=1
--innodb-file-format=Barracuda --innodb-file-format=Barracuda
--innodb-encrypt-tables=0
--innodb-encryption-threads=0
--innodb-immediate-scrub-data-uncompressed=OFF --innodb-immediate-scrub-data-uncompressed=OFF
--innodb-background-scrub-data-uncompressed=ON --innodb-background-scrub-data-uncompressed=ON
--innodb-background-scrub-data-compressed=ON --innodb-background-scrub-data-compressed=ON
--loose-innodb-scrub-force-testing=ON --loose-innodb-debug-force-scrubbing=ON
--encrypt-tmp-disk-tables=ON --encrypt-tmp-disk-tables=ON
--aria-encrypt-tables=ON --aria-encrypt-tables=ON
--innodb-encryption-threads=4 --innodb-encryption-threads=4
--innodb-encryption-rotate-key-age=15 --innodb-encryption-rotate-key-age=15
--innodb-encrypt-tables=ON --innodb-encrypt-tables=ON
--innodb-encrypt-log=ON
--innodb-tablespaces-scrubbing --innodb-tablespaces-scrubbing
--innodb-file-per-table=1 --innodb-file-per-table=1
--innodb-file-format=Barracuda --innodb-file-format=Barracuda
--innodb-encrypt-tables=off
--innodb-immediate-scrub-data-uncompressed=ON --innodb-immediate-scrub-data-uncompressed=ON
--innodb-background-scrub-data-uncompressed=ON --innodb-background-scrub-data-uncompressed=ON
--innodb-background-scrub-data-compressed=ON --innodb-background-scrub-data-compressed=ON
--loose-innodb-scrub-force-testing=ON --loose-innodb-debug-force-scrubbing=ON
--innodb-encryption-threads=0
--encrypt-tmp-disk-tables=ON --encrypt-tmp-disk-tables=ON
--aria-encrypt-tables=ON --aria-encrypt-tables=ON
--innodb-encryption-threads=4 --innodb-encryption-threads=4
--innodb-encryption-rotate-key-age=15 --innodb-encryption-rotate-key-age=15
--innodb-encrypt-tables=ON --innodb-encrypt-tables=ON
--innodb-encrypt-log=ON
--innodb-tablespaces-scrubbing --innodb-tablespaces-scrubbing
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment