Solved

VB.net Connect to MySQL

Posted on 2014-01-20
3
618 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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

713 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