<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[What are the implications of turning off enforce-utf8mb4 for MySQL?]]></title><description><![CDATA[<p dir="auto">Are there any implications on the functionality of FusionAuth by setting the <code>database.mysql.enforce-utf8mb4</code> setting to <code>false</code>?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/109/what-are-the-implications-of-turning-off-enforce-utf8mb4-for-mysql</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 07:42:26 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/109.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 May 2020 16:50:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What are the implications of turning off enforce-utf8mb4 for MySQL? on Fri, 22 May 2020 16:52:04 GMT]]></title><description><![CDATA[<p dir="auto">Making this change will allow FusionAuth to run even when utf8mb4 is not configured properly. We added that configuration option to ensure the limitation is understood before you turn off the enforcement.</p>
<p dir="auto">The implication is that if you attempt to store a 4 byte unicode character the INSERT or UPDATE request will fail. The initial MySQL UTF-8 support only allowed for 3 byte characters, they then came out with utf8mb4 to support 4 byte characters. More here: <a href="https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8.html" rel="nofollow ugc">https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8.html</a></p>
<p dir="auto">For example, many emoji are 4 byte characters, so if you tried to store a piece of text with a smiley such as <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f601.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--grin" style="height:23px;width:auto;vertical-align:middle" title=":grin:" alt="😁" /> it will fail. The <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f601.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--grin" style="height:23px;width:auto;vertical-align:middle" title=":grin:" alt="😁" /> is a four byte character, U+1F601 or \xF0\x9F\x98\x81.</p>
<p dir="auto">Unless you configure MySQL to use utf8mb4, any character points between U+10000 and U+10FFFF will fail to be stored.</p>
]]></description><link>https://fusionauth.io/community/forum/post/237</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/237</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Fri, 22 May 2020 16:52:04 GMT</pubDate></item></channel></rss>