MySql Exception: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE)


Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '=' --->

解決:

手動新建數據庫:Character set(設定字符編碼): utf8 -- UTF-8 Unicode

                             Collation 字符集 :  utf8_general_ci


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM