# Wait max 10 min for key encryption threads to encrypt all spaces # Success! SET GLOBAL innodb_encryption_threads=4; SELECT COUNT(*) AS encrypt_threads_running FROM performance_schema.threads WHERE NAME LIKE '%encrypt%'; encrypt_threads_running 4 # restart: --innodb-read-only=1 --innodb-encrypt-tables=1 SET GLOBAL innodb_encryption_threads=4; SELECT COUNT(*) AS encrypt_threads_running FROM performance_schema.threads WHERE NAME LIKE '%encrypt%'; encrypt_threads_running 0 # All done