You cannot use OLEDB (What you are dragging ) and use them with ODBC (myODBC) . If you are just trying to connect to a mySql DB here is the code. This is using a reader.
Dim myConnection As New OdbcConnection("driver={MySQL};server=myServer;uid=myUser;pwd=myPassword;database=myDatabase;OPTION=17923"

Dim sqlSelectCommand As New OdbcCommand
sqlSelectCommand.CommandText = " Select* from myTable"
sqlSelectCommand.Connection = myConnection
sqlSelectCommand.Connection.Open()
Dim mySR As OdbcDataReader = sqlSelectCommand.ExecuteReader
Dim cnt As Integer = 0
While mySR.Read
cnt += 1
lblCoCode.Text = mySR("Company_CD"

lblCoName.Text = mySR("CONAME"

lblCSR.Text = mySR("CSR_Code"

lblConName.Text = mySR("Contact_NA_D"

lblConPhone.Text = mySR("Contact_Phone_D"
End While
myConnection.close
DotNetDoc
M.C.S.D.
---------------------------------------
Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb
-----------------------------------
If you can't explain it simply, you don't understand it well enough.
- A. Einstein