需要帮助将MySql与Visual Studio 2010 Express连接 [英] Need help in connecting MySql with visual studio 2010 express
问题描述
大家好
请问您如何将Mysql数据库与Visual Studio 2010快递版连接起来..
谢谢
Hi all
Can u please tell me how do i connect Mysql database with visual studio 2010 express edition..
Thank you
推荐答案
由于快递产品的限制,MySQL Connector / NET无法在Microsoft Studio的Express版本中运行。要使用基于服务器体系结构的数据源,必须使用非Express版本。除了本地有限的Compact或Express版本之外,连接到微软自己的MSSQL也无法工作。
MySQL Connector/NET will not work in the Express Version of Microsoft Studio due to limitations within the express products. In order to use Data sources based in server architecture Non-"Express" versions must be used. Connectivity to even Microsoft''s Own MSSQL will not work, aside from local limited "Compact" or "Express" versions.
这是Visual Studio的Express版本的限制。它们为数据库提供非常有限的设计支持。例如,您无法使用Visual Studio设计人员使用Express版本连接到标准SQL Server数据库,只能使用用户实例数据库。
您仍然可以使用.NET Framework通过代码使用MySQL数据库。
虽然我猜这不是你希望的答案,但我希望知道你遇到Express版本的限制有助于节省你一些时间来寻找行为的原因。
This is a limitation of the Express editions of Visual Studio. They offer very limited designer support for databases. For example, you can''t connect to a standard SQL Server database using the Visual Studio designers using an Express edition, only a "user instance" database.
You can still work with MySQL databases via code using the .NET Framework.
While I''m guessing this isn''t the answer you were hoping for, I hope that knowing that you''re running into a limitation of the Express edition helps save you some time searching around for the cause of the behavior.
谢谢......
这是您的解决方案。
连接到MySQL使用C#和.NET的数据库 [ ^ ]
this is your solution.
Connecting to MySQL Database using C# and .NET[^]
我使用了以下链接中的Mysql连接器6.6.4
http://dev.mysql.com/downloads/connector/net/ [ ^ ]
这是'现在运作良好..
谢谢大家
I used the Mysql connector 6.6.4 from the below link
http://dev.mysql.com/downloads/connector/net/[^]
It''s working well now..
Thank you all
这篇关于需要帮助将MySql与Visual Studio 2010 Express连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!