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?


基础教程推荐
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- 带更新的 sqlite CTE 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01