I would assume that creating a ODBC-DSN on the server with the Perl-script containing information about the MSSQL-server's IP-address, username, password etc. is a good start...?That would be the way to go, since you are already on Windows.
You set up the local DSN, either by the script itself or manually (Control Panel->Administrative Tools->Data Sources (ODBC)) with database server -name or -address (if you use a name the only requirement is, that it can be resolved on that machine) and name of the account you want to connect with (no entering of password required here, if not for actual testing the connection)).
When a DSN is present you then can connect to that (local) DSN declaring it your ODBC data source, giving DSN name, user name and password.
This ODBC connection is your proxy to the remote MSSQL server.
In reply to Re: Connect to remote MSSQL database with DBD-ODBC?
by pKai
in thread Connect to remote MSSQL database with DBD-ODBC?
by FinnR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |