any help is appreciated.
CODE
Set cnx = New ADODB.Connection
With cnx
.Open "DRIVER={MySQL ODBC 5.1 Driver};" & _
"Server=localhost;" & _
"Port=3306;" & _
"Option=;" & _
"Stmt=;" & _
"Database=mysqldatabase;" & _
"Uid=root;" & _
"Pwd=leaf"
With cnx
.Open "DRIVER={MySQL ODBC 5.1 Driver};" & _
"Server=localhost;" & _
"Port=3306;" & _
"Option=;" & _
"Stmt=;" & _
"Database=mysqldatabase;" & _
"Uid=root;" & _
"Pwd=leaf"