It sounds like your missing an ODBC driver? I havent used mySQL with ASP.NET, but you may need to install the driver or check in Admin Tools, Data Sources.
Please remember to Mark As Answer if helpful
Regards, Christiandev (@chrisdev80), MCPD Web (2 & 4) & MCTS Windows (www.ScoreDonkey.com)
Hi, please import “MySql.Data.Client” namespace and make sure the connection string is correct. There is a similar issue on the following link, you can refer to the codes there:
kamal richan...
Member
4 Points
10 Posts
mysql connection
Jul 28, 2012 01:45 PM|LINK
I have mysql installed and connector 3.5
but when connecting from vb.net 2010 an error message that ' mysql ODBC 3.5 is not registered on this machine ' ,
what seems to be the problem can some one help ... thanks.
christiandev
Star
8607 Points
1841 Posts
Re: mysql connection
Jul 28, 2012 01:56 PM|LINK
It sounds like your missing an ODBC driver? I havent used mySQL with ASP.NET, but you may need to install the driver or check in Admin Tools, Data Sources.
Regards, Christiandev (@chrisdev80), MCPD Web (2 & 4) & MCTS Windows (www.ScoreDonkey.com)
Horizon_Net
Star
8309 Points
1441 Posts
Re: mysql connection
Jul 28, 2012 04:03 PM|LINK
Hi,
I've worked with the MySQL .NET Connector in the past and it works very well. You can find the installer on the following site - http://www.mysql.de/downloads/connector/net/
If my post solves your problem, please mark as answer.
Allen Li - M...
Star
10411 Points
1196 Posts
Re: mysql connection
Jul 30, 2012 03:26 AM|LINK
Hi, please import “MySql.Data.Client” namespace and make sure the connection string is correct. There is a similar issue on the following link, you can refer to the codes there:
http://forum.arvixe.com/smf/general/asp-net-website-with-mysql-q-re-mysql-connectornet/
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework