简体   繁体   English

Visual Studio的MySql服务器

[英]MySql server for Visual Studio

I've just installed Visual Studio 2015 but I can't add the MySql server through data connection. 我刚刚安装了Visual Studio 2015,但无法通过数据连接添加MySql服务器。 All that appears is Microsoft SQL servers and Oracle, although I've installed MySql server and MySql server for Visual Studio. 尽管我已经为Visual Studio安装了MySql服务器和MySql服务器,但出现的只是Microsoft SQL服务器和Oracle。

So, what should I do? 所以我该怎么做?

To connect to MySQL databases through the Server Explorer you must have the MySQL Connector .NET installed. 要通过服务器资源管理器连接到MySQL数据库,您必须安装MySQL Connector .NET

The MySQL Installer doesn't install the Connector for .NET by default. 默认情况下,MySQL Installer不会安装Connector for .NET。

Download the MySQL connector. 下载MySQL连接器。 After installing it, you should see that is available. 安装后,您应该看到它可用。 I tend to just the MySQL Connector and code the connection to the server. 我倾向于仅使用MySQL Connector并编码与服务器的连接。 I can give you some code, if that is what you are looking for. 如果您正在寻找,我可以给您一些代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM