Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

vs 2010 data connection (no replies)

$
0
0
Have visual studio 2010. Am trying to create connection to a mysql database on my machine (localhost). I have downloaded connector/net driver.

I am able to open the mysql database from the command line with no problem.

However when I try to create a data connection in vs 2010 I only get message "Unable to connect to any specified mysql hosts." I specify server (localhost or my computer name) and a valid mysql user/pass (with which I accessed database on the command line). When click to test connection, get message above.

If click OK instead of test connection, I get window entitled "Input user name and password for localhost:3306." But when I enter user name/password get same "Unable to connect..." message.

Thanks for any hints.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>