After migration of MySql from 5.7 to 8, I am getting the Illegal mix of collations exceptions. The same stored procedure works very fine in 5.7 version.
I have added the correct collation to the database, tables and to the table columns
See the images for more information.
I have added CharSet=utf8mb4; to my connection string. That didn't made any change.
Exception:
MySql.Data.MySqlClient.MySqlException (0x80004005): Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '=' at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)