Core/DBUpdater: Changed autoupdater created databases to use utf8mb4 instead of utf8mb3

Port From (https://github.com/TrinityCore/TrinityCore/commit/65e787d18be898532363fea3f8847fa4d7f21192)
This commit is contained in:
hondacrx
2023-01-11 01:26:59 -05:00
parent 1dde57b181
commit dd8d17a4da
+1 -1
View File
@@ -116,7 +116,7 @@ namespace Framework.Database
try
{
using BinaryWriter binaryWriter = new(File.Open(temp, FileMode.Create, FileAccess.Write));
binaryWriter.Write($"CREATE DATABASE `{connectionObject.Database}` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci");
binaryWriter.Write($"CREATE DATABASE `{connectionObject.Database}` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci");
}
catch (Exception)
{