Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added mysql_auto_reconnect

  • Loading branch information...
commit 818131f8eed0b7c3b2051c91e79e534cf2c6f74a 1 parent 9ab9dfe
gamelinux authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tools/pdns2db.pl
View
2  tools/pdns2db.pl
@@ -163,7 +163,7 @@ =head1 SYNOPSIS
if ($NODB == 0) {
warn "[*] Connecting to database...\n";
- $dbh = DBI->connect($DBI,$DB_USERNAME,$DB_PASSWORD, {RaiseError => 1}) or die "$DBI::errstr";
+ $dbh = DBI->connect($DBI,$DB_USERNAME,$DB_PASSWORD, {RaiseError => 1, mysql_auto_reconnect=>1}) or die "$DBI::errstr";
# Setup the pdns table, if not exist
setup_db();
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.