Bug #77441 MySQL VS Plugin excludes connections from other database type. Causes VS Crash
Submitted: 22 Jun 2015 22:39 Modified: 16 Dec 2015 3:29
Reporter: Dennis Gascoigne Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Visual Studio Integration Severity:S1 (Critical)
Version:1.2.3 OS:Windows
Assigned to: Francisco Alberto Tirado Zavala CPU Architecture:Any
Tags: visual studio 2013

[22 Jun 2015 22:39] Dennis Gascoigne
Description:
Refer confirmed and replicated. http://forums.mysql.com/read.php?174,630473,631024#msg-631024

I need to connect to both MySQL and MSSQL databases from Visual Studio. I can connect to MSSQL databases no problems unless the MySQL for Visual Studio is also installed. 

When the MySQL (1.2.3) plugin is installed, creating a connection for an MSSQL database proceeds as normal, the "test connection" even works, as does selecting the schema. Finishing the wizard ALWAYS causes an exception. 

The reported exception is CL20r3. After attaching a debugger, the following is reported on the exception 
"Missing Server and User in Credentials". 

There is no credential issue unless the MySQL connector is installed. 

There is no issue connecting to MySQL databases. 

The MSSQL is SQL Express with a named instance on the local machine. All is in the local environment.

How to repeat:
Install the VS connector
Create a MySQL connection
Try to connect to an MSSQL connection
Exception and critical error. VS Crashes

Suggested fix:
Update the plugin
[16 Dec 2015 3:29] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL for Visual Studio 1.2.6 release, and here's the changelog entry:

With MySQL for Visual Studio installed, attempting to create MSSQL
connections would fail and throw an exception.

Thank you for the bug report.