用utf8mb4编码无法连接数据库 返回
SqlSugar
老数据
4
2953
悬赏:5 飞吻
数据库要用utf8mb4格式,但是写了charset=utf8mb4后,连接数据库显示 “给定关键字不在字典中”ExceptionType": "System.Collections.Generic.KeyNotFoundException",
是否现在还不支持utf8mb4格式?
热忱回答(4)
-
fate stay night VIP0
2018/8/25升级驱动。
0 回复 -
fate stay night VIP0
2018/8/25要么就是连接字符串写错了
0 回复 -
雲之殇 VIP0
2018/8/27我的Core没问题
Server=Ip;Port=3305;Database=dbname;Uid=name;Pwd=pass;default command timeout=20;Connection Timeout=5;Charset=utf8mb4;SslMode = None;
MySql.Data 8.0.11
sqlSugarCore 4.6.4.90 回复 -
backjack VIP0
2020/8/12用characterSet=utf8mb4没有报错,不知道有什么用
0 回复