|
-
Jun 16th, 2003, 12:48 AM
#1
Thread Starter
Fanatic Member
Adding DSN programmaticly - resolved
SQLConfigDataSource(0, ODBC_ADD_SYS_DSN, "MySQL ODBC 3.51 Driver", "DSN=MySQLTesting" & Chr(0)
& "SERVER=myServer.com.au" & Chr(0) & "DATABASE=testing" & Chr(0) &
"OPTION=" & (1 + 2 + 8 + 32 + 2048 + 16384) & Chr(0) & "UID=username" & Chr(0)
& "PORT=3306" & Chr(0)
& "DESCRIPTION=someDesc" & Chr(0))
It returns 1 ie succesful, yet i cant see it my ODBC datasources list (through administritive options)
help!?
Last edited by SkiNLaB; Jun 16th, 2003 at 11:36 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|