<?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 happens if I turn off database.mysql.enforce-utf8mb4 ?]]></title><description><![CDATA[<p dir="auto">What are the implications, if any on functionality of fusionauth by setting the <code>database.mysql.enforce-utf8mb4</code> property to <code>false</code>?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/152/what-happens-if-i-turn-off-database-mysql-enforce-utf8mb4</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 22:52:47 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/152.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jun 2020 15:13:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What happens if I turn off database.mysql.enforce-utf8mb4 ? on Wed, 10 Jun 2020 15:18:26 GMT]]></title><description><![CDATA[<p dir="auto">Doing so will allow FusionAuth to run even when utf8mb4 is not configured properly. We added that enforcement 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.</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>
<p dir="auto"><em>Extracted from <a href="https://github.com/FusionAuth/fusionauth-issues/issues/234#issuecomment-632757441" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-issues/issues/234#issuecomment-632757441</a></em></p>
]]></description><link>https://fusionauth.io/community/forum/post/371</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/371</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Wed, 10 Jun 2020 15:18:26 GMT</pubDate></item></channel></rss>