Hello,
If my perl scripts are on 1 server, and the SQL database I need to talk to is on a different server,
is there a way via DBI to connect to that database?
Something like:
my $DSN='dbname';
my $user = "loginname";
my $pass = "password";
my $DBD='ODBC';
my $server='123.456.789.0'
my $DBH=DBI->connect($DSN,$user,$pass,$DBD,$server);
I have read the DBI docs, but no mention is made of this so I was wondering if anyone has seen or done this before.
TIA for any and all assistance!
-jim
If my perl scripts are on 1 server, and the SQL database I need to talk to is on a different server,
is there a way via DBI to connect to that database?
Something like:
my $DSN='dbname';
my $user = "loginname";
my $pass = "password";
my $DBD='ODBC';
my $server='123.456.789.0'
my $DBH=DBI->connect($DSN,$user,$pass,$DBD,$server);
I have read the DBI docs, but no mention is made of this so I was wondering if anyone has seen or done this before.
TIA for any and all assistance!
-jim