Solved

VB.net Connect to MySQL

Posted on 2014-01-20
3
622 Views
Last Modified: 2014-01-20
Hi

Can you connect to a MySQL database using System.Data.SqlClient or and Oledb
0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 39794655
>Can you connect to a MySQL database using System.Data.SqlClient
no


Can you connect to a MySQL database using System.Data.Oledb
yes, using a third-party OLEDB provider:
http://cherrycitysoftware.com/ccs/providers/ProvMySQL.aspx


Can you connect to a MySQL database using System.Data.odbc
yes, using this odbc connector:
http://dev.mysql.com/downloads/connector/odbc/


but there is more: a .net connector for MySQL:
http://dev.mysql.com/downloads/connector/net/


connection strings for MySQL:
http://www.connectionstrings.com/mysql/
0
 
LVL 32

Assisted Solution

by:Daniel Wilson
Daniel Wilson earned 250 total points
ID: 39794656
Um, probably with the OleDB driver, but you'll do better to use the MySQL Connector for .Net from http://www.mysql.com/products/connector/
0
 

Author Closing Comment

by:murbro
ID: 39794706
Thanks very much for the help
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question