Decrypt InnoDB Tables
Procedure to decrypt InnoDB tables by setting `innodb_encrypt_tables=OFF` and executing `ALTER TABLE ... ENCRYPTION='N'`.
Decrypting a Table
ALTER TABLE mydb.mytable ENCRYPTION='N';Decrypting All Tables in a Schema
SELECT CONCAT('ALTER TABLE ', table_schema, '.', table_name, ' ENCRYPTION="N";')
FROM information_schema.tables
WHERE engine='InnoDB'
AND table_schema='mydb';Verifying Decryption
Last updated
Was this helpful?

