# Unknown variable 'tokudb\_enabled'

**URL:** <https://forums.percona.com/t/unknown-variable-tokudb-enabled/15077>\
**Category:** Percona Server for MySQL 8.0\
**Tags:** mysql\
**Created:** [April 4, 2022, 4:32pm UTC](https://forums.percona.com/t/unknown-variable-tokudb-enabled/15077 "2022-04-04T16:32:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathieulongtin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mathieulongtin/32/1086_2.png) [@mathieulongtin](https://forums.percona.com/u/mathieulongtin)\
**Post date:** [April 4, 2022, 4:32pm UTC](https://forums.percona.com/t/unknown-variable-tokudb-enabled/15077/1 "2022-04-04T16:32:13Z")

</div>

I’m trying to upgrade a server to mysqld 8.0.27-18, and with the depracation of TokuDB, I get this:  
`2022-04-04T15:32:17.612634Z 6 [ERROR] [MY-000000] [Server] Plugin tokudb reported: 'As of Percona Server 8.0.26-16, the TokuDB storage engine and backup plugins have been deprecated. They will be completely removed in a future release. If you need to continue to use them in order to migrate to another storage engine, set the loose-tokudb_enabled and loose-tokudb_backup_enabled options to TRUE in your my.cnf file. Please see this blog post for more information https://www.percona.com/blog/2021/05/21/tokudb-support-changes-and-future-removal-from-percona-server-for-mysql-8-0'`

However, if I add `loose-tokudb_enable=TRUE` or `tokudb_enable=TRUE`, I get this error:  
`unknown variable 'tokudb_enabled=TRUE'.`.

I guess I’m the last user of TokuDB, but I need to do this last upgrade before migration. How do I pass this magical `tokudb_enabled` setting?

---

<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:** [April 4, 2022, 6:12pm UTC](https://forums.percona.com/t/unknown-variable-tokudb-enabled/15077/2 "2022-04-04T18:12:16Z")

</div>

The recommendation would have been to migrate off TokuDB _before_ upgrading to 8.0. Do you still have the plugin enabled?

This shouldn’t matter but did you use ‘loose-’ or ‘loose\_’ ?

---

<div class="post-metadata">

**Author:** ![mathieulongtin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mathieulongtin/32/1086_2.png) [@mathieulongtin](https://forums.percona.com/u/mathieulongtin)\
**Post date:** [April 4, 2022, 6:51pm UTC](https://forums.percona.com/t/unknown-variable-tokudb-enabled/15077/3 "2022-04-04T18:51:56Z")

</div>

Indeed, the solution is to put `loose_tokudb_enabled=TRUE` in the config file.  
I was using TokuDB with version 8.0.22 just fine. The lack of question on this forum was mostly due to the fact that it’s been working well for us.
