I'm new to Perl. I'm trying to connect to MSSQL 2016 from Perl. Below is the code I have written and it is working fine in my personal account .
Where as in my organization account MS-MSQL server is running in different machine and I want to connect to it .
Note: running this in Linux machine
#!/usr/bin/perl -w
use strict;
use DBI;
my $user = 'SA';
my $password = '';
my $dbh = DBI->connect('dbi:ODBC:Driver={/opt/microsoft....};Server=localhost;Database=testsb;UID=$user;PWD=$password')
or die "Can't connect ";
My question is where will I get this driver path since server is running in different machine. Please help ..
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…