# What is the Nextcloud proper way to convert the database from utf8\_bin to utf8\_mb4?

**URL:** <https://help.nextcloud.com/t/what-is-the-nextcloud-proper-way-to-convert-the-database-from-utf8-bin-to-utf8-mb4/118450>\
**Category:** ℹ️ Support\
**Created:** [June 15, 2021, 5:36pm UTC](https://help.nextcloud.com/t/what-is-the-nextcloud-proper-way-to-convert-the-database-from-utf8-bin-to-utf8-mb4/118450 "2021-06-15T17:36:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ucarkamon](https://help.nextcloud.com/letter_avatar/ucarkamon/32/6_22734026db12803ebb3e059622ac3534.png) [@ucarkamon](https://help.nextcloud.com/u/ucarkamon)\
**Post date:** [June 15, 2021, 5:36pm UTC](https://help.nextcloud.com/t/what-is-the-nextcloud-proper-way-to-convert-the-database-from-utf8-bin-to-utf8-mb4/118450/1 "2021-06-15T17:36:32Z")

</div>

Hi  
The current Nextcloud database is set to utf8\_bin. It seems like I should update to mb4. I am not a techy person so I used Phpmyadmin to convert to mb4 using the operations tab. It seemed like everything worked except when I searched. It started throwing errors (those pop ups errors in the UI) complaining that it cant search in bunch of apps.

That scared me a bit so I reverted back to the backup. Given I need to do the conversion, what is the proper way to do this so that it all works? Maybe I had to do some other stuff after the initial conversion, but I was not sure about the steps.

thanks

---

<div class="post-metadata">

**Author:** ![ucarkamon](https://help.nextcloud.com/letter_avatar/ucarkamon/32/6_22734026db12803ebb3e059622ac3534.png) [@ucarkamon](https://help.nextcloud.com/u/ucarkamon)\
**Post date:** [June 15, 2021, 6:05pm UTC](https://help.nextcloud.com/t/what-is-the-nextcloud-proper-way-to-convert-the-database-from-utf8-bin-to-utf8-mb4/118450/2 "2021-06-15T18:05:11Z")

</div>

[https://docs.nextcloud.com/server/latest/admin\_manual/configuration\_database/mysql\_4byte\_support.html](https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/mysql_4byte_support.html)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 9:56am UTC](https://help.nextcloud.com/t/what-is-the-nextcloud-proper-way-to-convert-the-database-from-utf8-bin-to-utf8-mb4/118450/3 "2024-12-13T09:56:02Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 9:56am UTC](https://help.nextcloud.com/t/what-is-the-nextcloud-proper-way-to-convert-the-database-from-utf8-bin-to-utf8-mb4/118450/4 "2024-12-13T09:56:03Z")

</div>


