如果查询语句没有问题数据库连接字符串也没有问题,可能是Mysql.Data引用与当前安装的Mysql数据库版本不兼容的问题。
我本地安装的mysql版本是8.30,在VS里使用Nuget程序包下载的Mysql.Data引用是其他更低的版本,将程序里用的Mysql.Data也更新到8.30就好了。
版本保持一致。
- dictionary present Mysql 12599 givendictionary present mysql 12599 dictionary present epplus excel information dictionary serialized mysql initialization dictionary mysql8 failed 12599 given given 2022 tree day determine reachable leetcode given positional typeerror arguments given 1039d given tree are