Amy Sommer
SSC-Addicted
Points: 485
More actions
March 17, 2006 at 7:29 am
#167341
Does anyone know how to hardcode a password into a user dsn connection string?
MVDBA (Mike Vessey)
SSC-Insane
Points: 21797
March 17, 2006 at 7:52 am
#627316
it's easy using a file dsn - but as i remember (unless anyone can contradict me) impossible with a userdsn
MVDBA
March 17, 2006 at 10:54 am
#627413
Thanks Mike. I'll try using the file dsn.
March 20, 2006 at 1:53 am
#627516
you can find the contents of your file dsn's at c:\program files\common files\odbc
you can then edit one of them and add the PWD=mypassword or PASSWORD=mypassword line to the file
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply