I have just installed mysql and I am getting an error with my connection string. Using W2K Pro. I have downloaded myodbc but I would like to use a dsn less connection.
In global.asa this is the code
Sub Application_OnStart
Application("DBCONN"="Driver={MySQL);SERVER=localhost;DATABASE=test;UID=cuexxx;PWD=xxxxxx;Extended Properties='OPTION=16387'"
Application("AllHits" = 0
End Sub
and in the page it is
Sey myConn = Server.CreateObject("ADODB.Connection"
myConn.open("Application("DBCONN")
Here is the error
Error Type:
Microsoft OLE DB Service Components (0x80040E73)
Format of the initialization string does not conform to the OLE DB specification.
/includes/stat_track.asp, line 11
In global.asa this is the code
Sub Application_OnStart
Application("DBCONN"="Driver={MySQL);SERVER=localhost;DATABASE=test;UID=cuexxx;PWD=xxxxxx;Extended Properties='OPTION=16387'"
Application("AllHits" = 0
End Sub
and in the page it is
Sey myConn = Server.CreateObject("ADODB.Connection"
myConn.open("Application("DBCONN")
Here is the error
Error Type:
Microsoft OLE DB Service Components (0x80040E73)
Format of the initialization string does not conform to the OLE DB specification.
/includes/stat_track.asp, line 11