How do I connect to MySQL 5.1 in Visual Studio 2010?(如何在 Visual Studio 2010 中连接到 MySQL 5.1?)
问题描述
有人知道如何使用 MySQL 5.1://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Visual_Studio_2010" rel="noreferrer">Visual Studio 2010?
Does any one know how to connect to MySQL 5.1 with Visual Studio 2010?
我已经尝试过 MySQL 连接器/ODBC 路线,它给我带来了非常糟糕的结果.表行都在视图部分中作为视图列出,而表或过程文件夹中根本没有列出任何内容.
I have already tried the MySQL Connector/ODBC route and it got me really nasty results. The table rows were all listed as a view in the views section and nothing at all was listed in the tables or procedures folder.
推荐答案
为了让 Entity Frame 与 VS2010 一起工作,我必须执行以下操作:
To get the Entity Frame working with VS2010, I had to do the following:
- 这只适用于 Mysql .net Connector v6.3.1 (alpha).以前的版本忽略了 VS 2010(点击开发版本)
- 我不得不重命名我的 Frameworkv1.1.4322CONFIG 文件夹.否则安装将失败.完成后重新命名
(我在博客上写过这个这里)
(I've blogged about this here)
更新6.3.2 处于测试阶段,我可以确认这有效.(我不需要重命名框架文件夹)
Update 6.3.2 is in beta and I can confirm this works. (I didn't need to rename the framework folder)
这篇关于如何在 Visual Studio 2010 中连接到 MySQL 5.1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Visual Studio 2010 中连接到 MySQL 5.1?


- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 更改自动增量起始编号? 2021-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- SQL 临时表问题 2022-01-01