02-23-2011, 09:10 PM
I am following the example in QTP unplugged chapter 22
trying to connect to the DB, our DB runs on MySqL
Here is my Script
Run Error =
Does anyone tried this before?
trying to connect to the DB, our DB runs on MySqL
Here is my Script
Code:
Dim adocon
Set adoCon = CreateObject ("ADODB.Connection")
ConStr = " DSN = name ; UID= admin ; PWD= 4d645df259f5cb14d0b65f8395f21ac47746845ae08719122210aa77 ; DataBase = My_DB "
AdoCon.open ConStr
Run Error =
Code:
Run Error [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Line (35): "AdoCon.open ConStr".
Does anyone tried this before?