![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I'm using a DSNless connection in a perl script (using the DBD::ODBC package) to connect to a SQL Server 2000 database. I'm using SQL Authentication, however whenever the connection goes through, it is actually ignoring the uid and pwd being sent and instead trying to use NT Authentication. I have tried adding Trusted_Connection=no to the connection string, but this makes no difference. The SQL Server I am connecting to is set to SQL and Windows authentication, and I can't use NT authentication to connect. In all documentation I've read, it implies that the presence of the parameters uid and pwd will force it to use SQL Authentication, but this is not the case. Any ideas as to why this might be happening? |
![]() |
| Thread Tools | |
| Display Modes | |
| |