BiggerBrother
Technical User
I've been using the vbMySQLDirect dll for a few of my apps, but now I need to use an ADO connection for reports and some controls.
I have downloaded and installed the ODBC from the mysql site, and followed all the dos and dont's. I now get an error every time I try and connect to the db, which is 2147418113 - Catastrophic failure.
My connection is:
conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=" & .dbLocation & ";" _
& "PORT=3306;" _
& "DATABASE=" & .dbName & ";" _
& "UID=" & .dbUser & ";PWD=" & .dbPass & ";"
conn.Open
Where am I going wrong? Many thanks
BB
I have downloaded and installed the ODBC from the mysql site, and followed all the dos and dont's. I now get an error every time I try and connect to the db, which is 2147418113 - Catastrophic failure.
My connection is:
conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=" & .dbLocation & ";" _
& "PORT=3306;" _
& "DATABASE=" & .dbName & ";" _
& "UID=" & .dbUser & ";PWD=" & .dbPass & ";"
conn.Open
Where am I going wrong? Many thanks
BB