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.
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.