rebus-org / Rebus.MySql

:bus: MySQL integration for Rebus
https://mookid.dk/category/rebus
Other
7 stars 6 forks source link

MySql: Character set 'utf8mb3' is not supported by .Net Framework #24

Closed dannythunder closed 2 years ago

dannythunder commented 2 years ago

Just started with implementing saga features. Not going to well, the package Rebus.MySql 2.0.1 is using MySql.Data 8.0.12 this is causing the app to crash with System.NotSupportedException: Character set 'utf8mb3' is not supported by .Net Framework.

This happens for me when using MariaDb (Latest docker image as of today).

The package need to be updated to a newer version of MySql.Data preferably the latest one according to this StackOverflow: System.NotSupportedException: Character set 'utf8mb3' is not supported by .Net Framework

One answer states that you should update the package to the latest version, and refers to a change: Bug #33556024 - Connector/Net doesn't recognize utf8mb3

I've done a fix and will push an PR soon.

mookid8000 commented 2 years ago

Fixed by #23