connecting to mysql database from visual studio

hi
how do i connect to a mysql database from visual studio 2008? i'm not able to create an odbc data source either, as there is no driver installed for it.

Replies

  • slashfear
    slashfear
    Hi Rohit,

    You can either use ODBC or MySql Client for .NET.
    1. Download MySql Client dll.​
    2. Add the dll to your project.​
    3. Add connection string to web.config​







    That's it you can follow same sqlclient connection.​



    And you can have a look at this detailed tutorial and you can download the plugins from the below link: #-Link-Snipped-#

    Hope this helps!!!! :smile:

You are reading an archived discussion.

Related Posts

The world of Computerised Maintenance Management Software is being revolutionised by the launch of the next-generation in cutting-edge technology. At the forefront of this progress, Effishon offers businesses a generically...
Hi all, i have a plan to do Mtech nanotechnology.... will it be helpful? pls give ur suggestion. Aparnu
Hay me doing Electronic Engineering and my Java or Object oriented is very weak. Some one help me in learning Thanks In Advance
Hi everyone..... i am doing my final year project on fingerprint and password security system...i have almost done the fingerprint part ..but i don't know how to add password with...