TAS-IT
asked on
Connect a MYSql data connection on Visual Studio
How do i create a MySql database connection when the data source selection in Visual Studio 2008 Web Development does not include MySQL database connection. I am trying to write a asp.net program in Visual Studio that connects to MySQL that is hosting on my hosting site. However, there is no "MySQL Datasource " listed for me to select.
ASKER
I was able to download and install the .NET Connector, but when i try to connect to my My SQL DB, i get the following error when i try to browse the tables in the Server Explorer of Visual Studio 9.0
Input String was not in a correct format. Couldn't Store <Dynamic> in VERSION Column. Expected type in UIn64
Input String was not in a correct format. Couldn't Store <Dynamic> in VERSION Column. Expected type in UIn64
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am able to connect to the database, but when I click on the TABLE from the Server Explorer, i get that error.
try disconnect and reconnect your database?
ASKER
It might be the MySQL hosting Account. I was able to query with it, but was not able to browse through the table with the Server Explorer.
You need to install the MySQL .NET Connector, and then add it from Add References
You can download it from:
http://dev.mysql.com/downloads/connector/net/