MySQL Data Source Not Showing Up In Visual Studio 2015 -


as title says, no matter mysql not appear in list of data sources in visual studio 2015.

i have done suggested in question: mysql data source not appearing in visual studio

i have installed development releases , different versions of connectors corresponding mysql vs drivers per table here: https://dev.mysql.com/doc/visual-studio/en/visual-studio-install.html

i have reinstalled visual studio itself.

all of no avail. can manually configure connection , run .net application reads , writes mysql visual studio refuses mysql in data source popup window.

short of moving database sql server not sure else can done here.

any suggestion or resolved great. i've been @ last 48 hours.

currently installed versions: mysql visual studio - 1.2.7, connector/net - 6.9.9

this .net 4.5.2 based project.

i have had same problem while back. unfortunately think answer case case, , can't remember fixed other playing around versions of mysql server , mysql connector/net versions.

i have vs 2015 tried recreate problem. unable installed mysql vs 1.2.7 , connector/net 6.9.9 , able see mysql database option in data sources window.

i recommend uninstalling both mysql vs , connector/net 6.9.9 , reinstalling them. make sure install mysql vs before connector/net documenation linked in question says "always install mysql visual studio before installing mysql connector/net."

you might try using mysql community server instead of mysql vs , using older version of connector/net.

update

try doing following:

  1. uninstall mysql vs , connector/net.
  2. install connector/net 6.9.9 doing custom installation. remove web providers feature installation , continue installation.
  3. install mysql vs 1.2.7 doing custom installation. make sure visual studio integration feature selected installation , finish installation (it should selected default).

update 2

if want more alternatives reinstalling:

try checking out machine.config file properties see if mysql data provider property similar mine going c:\windows\microsoft.net\framework\v2.0.50727\config

lines check:

  • ltsadd name="mysql data provider" invariant="mysql.data.mysqlclient" description=".net framework data provider mysql" type="mysql.data.mysqlclient.mysqlclientfactory, mysql.data, version=6.9.9.0, culture=neutral, publickeytoken=xxxxxxxxx" /gts

also, maybe try creating website instead of project or vice versa. there multiple ways data source window. try creating ado.net object , adding connection see if data source window displays mysql data source. can create connection through server explorer window. follow these steps.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -