# Upgrading MySQL charset to utf8mb4

**URL:** <https://discuss.openedx.org/t/upgrading-mysql-charset-to-utf8mb4/7927>\
**Category:** Site Operators\
**Created:** [July 26, 2022, 4:51pm UTC](https://discuss.openedx.org/t/upgrading-mysql-charset-to-utf8mb4/7927 "2022-07-26T16:51:51Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![ABC](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/abc/32/4946_2.png) [@ABC](https://discuss.openedx.org/u/ABC)\
**Post date:** [July 14, 2024, 2:01pm UTC](https://discuss.openedx.org/t/upgrading-mysql-charset-to-utf8mb4/7927/8 "2024-07-14T14:01:13Z")

</div>

Another note for future generations: The `https://gist.githubusercontent.com/Abdess/3ed9ed1d42821d00a5cf2481870df26f/raw/tutor-mysql8utf8mb4.yml` plugin has

`image: docker.io/mysql:latest` as the mysql to be used. That worked for me through MySQL 8.3.0. However the latest MySQL has started deprecating CLI passwords. (as encountered [here](https://discuss.openedx.org/t/error-1524-hy000-plugin-mysql-native-password-is-not-loaded/13257/9)

So the `mysql -uroot -pXXXXXXXX` command mentioned above will break if you use `image: docker.io/mysql:latest` as is default in that plugin.

I currently recommend using `image: docker.io/mysql:8.3.0` instead, if you want to use the above instructions.

---

_[View the full topic](https://discuss.openedx.org/t/upgrading-mysql-charset-to-utf8mb4/7927)._
