Solved

VB.net Connect to MySQL

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.net VSTO Excel Ribbon error 4 27
vb.net datagrid point 4 34
Export Data from MySql Using PHP 16 67
Make borderless form movable by user 2 27
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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