Solved

VB.net Connect to MySQL

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web Form VB.Net  import CSV 4 36
MS SQL Server - Looking to filter rows based on column value 3 35
when to use sequences in mysql 4 27
VB.Net - TypeInitializer Error 25 25
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

815 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now