Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that MySQL has the AES_ENCRYPT and AES_DECRYPT instructions; do they use Intel's AES-NI instructions? Are there other encryption options in MySQL and do they support AES-NI?

Secondly, if MySQL does not support AES-NI, does MariaDB?

For full database encryption - preferably Transparent Database Encryption or TDE - does it exist for MySQL (preferably open source) and does it support AES-NI?

(By the way, I already know about full disk encryption; this is an investigation into just some of the alternatives.)

share|improve this question

MySQL needn't support AES-NI - it's in the "wrong" part of the stack. Support for AES-NI would come from the underlying operating system kernel (Linux, Windows). If you are running MySQL on Linux, with AES-NI support, you will receive transparent acceleration benefits for the MySQL workload.

share|improve this answer
Since when is this the case? Even the latest MySQL 5.5 builds don't show any reference of the Linux Crypto API (which does support AES-NI) being used. – pfo Mar 29 '11 at 18:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.