This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Innodb table encryption existing database

Hello, i need to encrypt a innodb table data in my existing MariaDB 10.3 database. Is it possible without recreate all my database tables and without lose table records ? If yes someone could explain me in wich way ?

Thank you very much !

Alberto

Answer Answered by Marko Mäkelä in this comment.

Basically, SET GLOBAL innodb_encrypt_tables=ON; will do the trick. But see also MDEV-14398.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.