# Percona MySQL with Vault HashiCorp data encryption

**URL:** https://forums.percona.com/t/percona-mysql-with-vault-hashicorp-data-encryption/10067
**Category:** MySQL & MariaDB
**Created:** [April 12, 2021, 5:35pm UTC](https://forums.percona.com/t/percona-mysql-with-vault-hashicorp-data-encryption/10067 "2021-04-12T17:35:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dubhe1984](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@dubhe1984](https://forums.percona.com/u/dubhe1984)
#### Post date: [April 12, 2021, 5:35pm UTC](https://forums.percona.com/t/percona-mysql-with-vault-hashicorp-data-encryption/10067/1 "2021-04-12T17:35:40Z")

</div>

Dear community, I need help with the next issue:

I installed and configured Percona MySQL with Vault. I started Vault and Percona, I can create and encrypt new table, but when I restart Percona MySQL, previously encrypted data become unavailable (I can ONLY ENCRYPT new table)

---

<div class="post-metadata">

### Author: ![vadimtk](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vadimtk/32/9528_2.png) [@vadimtk](https://forums.percona.com/u/vadimtk)
#### Post date: [April 13, 2021, 4:47pm UTC](https://forums.percona.com/t/percona-mysql-with-vault-hashicorp-data-encryption/10067/2 "2021-04-13T16:47:17Z")

</div>

Can you post error.log here, it may have some information on what is the reason why encrypted data is unavailable?

---

<div class="post-metadata">

### Author: ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)
#### Post date: [July 7, 2021, 2:28pm UTC](https://forums.percona.com/t/percona-mysql-with-vault-hashicorp-data-encryption/10067/3 "2021-07-07T14:28:07Z")

</div>

@dubhe1984 Any updates?
