VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Connect Mysql without ODBC ( you must have MySql ODBC Driver3.51 )

by thatthep dolsophon (1 Submission)
Category: Databases/Data Access/DAO/ADO
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 24th August 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Connect Mysql without ODBC ( you must have MySql ODBC Driver3.51 )

API Declarations


Public Cn As New ADODB.Connection
Public Sub Conn()
Cn.ConnectionString = "Driver={MySQL ODBC 3.51 Driver}; " & _
HOST='localhost';UID='root';PWS='admins';"
Cn.Open
End Sub


Rate Connect Mysql without ODBC ( you must have MySql ODBC Driver3.51 )



Call Conn
End Sub



Download this snippet    Add to My Saved Code

Connect Mysql without ODBC ( you must have MySql ODBC Driver3.51 ) Comments

No comments have been posted about Connect Mysql without ODBC ( you must have MySql ODBC Driver3.51 ). Why not be the first to post a comment about Connect Mysql without ODBC ( you must have MySql ODBC Driver3.51 ).

Post your comment

Subject:
Message:
0/1000 characters