-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Collections.Generic.KeyNotFound Exception #76
Comments
Can you try to provide more information? How about... try to provide the table structure... the CREATE STATEMENT,
or
|
Hi, the character set of "utf8mb3" is not supported in MySQL, therefore the dot net connector MySQL.DATA.DLL does not include the collection for "utf8mb3". You may try to change your database character set of "utf8mb3" to "utf8mb4". More information for list supported character set: |
You are right! Manually editing the db and setting to utf8mb4 fixed the issue. The problem with the latest version of MariaDB will persist in the future as it uses by default utf8mb3 for utf8 and until now i'm unable to change the default. |
Hi @mariusvaida , I have released another version of MySqlBackup.NET for MySqlConnector (MIT), so you can try use this version to run a test and see if MySqlConnector has any issue with utf8mb3. Here is the nuget for MySqlConnector: You're recommended to test this on a new blank project, this is because MySqlConnector uses the same namespace as MySql.Data.DLL, and thig might crashes your project. |
With the latest version of MariaDB the backup function is causing an exception, even in your test app.
The exception is located at: mysql.data.mysqlclient.mysqlfield.setfieldencoding()
exception
The text was updated successfully, but these errors were encountered: