use strict; use warnings; use DBI; my $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port"; my $dbh = DBI->connect($dsn, $user, $password);
In reply to Re: Connect to DB on different server
by tcf22
in thread Connect to DB on different server
by goosefairy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |