Hello friends ? I want to use mysql database in vb.net ..
What is the full procudure for using mysql in vb.net..

thanks in advance......

Recommended Answers

All 5 Replies

Well, first of all you'll need the Mysql Connector/NET.
You will find it here.

Second, everything you've read so far about connecting to an MS SQL server, either here or elsewhere, you can apply when dealing with MySQL.
All you have to do is replace any reference to SqlConnection, SqlCommand and so on, with MySqlConnection, MySqlCommand and so on.
Also, the connectionstring is different: check this site.

thanks friend very very much .......
but it is necessary to install mysql server....
Is mysql connector along will not work ....

If you already have a MySQL server somewhere, then the MySQL connector is enough for the connection.

You need MySql Server instructions?

What OS?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.