connect to mySQL

J

Jassim Rahma

Hi,

How can I directlly connect to mySQL server from C# without an ODBC
drive? connecting through ODBC means I have to include mySQL
Connecter/ODBC in my distribution media.. I want to only distibute my
application..


Many Thanks,
Jassim Rahma
 
G

Guest

Jassim,

You can use a .net provider (e.g. System.Data.SqlClient - except for mySql).
There are a few .net providers that you can use for MySql. I have posted
the links to a couple of them below. Also you can use OleDb to access the
MySql Database too.

I hope this helps.
 
C

cody

you need a native MySQL driver dll and use interop to call its functions.
for example libmysql4.dll
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top