Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my ($dbh,$dsn,$db,$user,$password);
- $user='tom';
- $password='password';
- $db='bible';
- $dsn = "DBI:mysql:$db";
- $dbh = DBI->connect($dsn, $user, $password,{ RaiseError => 1 } ) or die $DBI::errstr;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement