Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Windows 机器上有 MySQL5.7。我已经安装了 MariaDB 10.7 并卸载了 MySQL。
我在 MariaDB 中恢复了 MySQL 转储文件。我现在可以使用 MySQL Workbench 连接到 MariaDB 并正确查询数据库。
但是,当我尝试使用 C# 代码连接到数据库时,出现以下异常:
当前不支持 5.6 之前的 MySQL 版本
这是内部的例外:
尝试使用更高版本的 MySQL 连接器库。
https://dev.mysql.com/downloads/windows/installer/8.0.html