Hello All!
Need a little help, I am new to MySQL ODBC when using vbScript and I have come across a problem that the connection appears to be ok but when running select queries they are taking each over 5 seconds to complete.
The table it is selecting on contains 64 rows.
here is an example piece of code:
strSQL = SELECT DISTINCT id from table where id = 10
set conn = CreateObject("ADODB.Connection")
conn.Open "Driver={MySQL ODBC 3.51 Driver}; Server=as3;Database=name","user","password"
set rs = conn.execute(strSQL)
'next line of code'
It takes 5 seconds plus to get the the next line of code from "set rs = conn.exec......."
Any ideas?
Latest driver 3.51.21 installed!
Thank you!
Dan
Need a little help, I am new to MySQL ODBC when using vbScript and I have come across a problem that the connection appears to be ok but when running select queries they are taking each over 5 seconds to complete.
The table it is selecting on contains 64 rows.
here is an example piece of code:
strSQL = SELECT DISTINCT id from table where id = 10
set conn = CreateObject("ADODB.Connection")
conn.Open "Driver={MySQL ODBC 3.51 Driver}; Server=as3;Database=name","user","password"
set rs = conn.execute(strSQL)
'next line of code'
It takes 5 seconds plus to get the the next line of code from "set rs = conn.exec......."
Any ideas?
Latest driver 3.51.21 installed!
Thank you!
Dan