Updated the linking config files.
authorBill Erickson <berickxx@gmail.com>
Wed, 29 Oct 2014 21:08:20 +0000 (17:08 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
    Cross-port: c10583c

KCLS/linking/authority_control_fields_batcher.pl
KCLS/linking/readme

index 690ec6c..8401904 100755 (executable)
@@ -50,7 +50,7 @@ use DBI;
 use JSONPrefs;
 use Getopt::Long;
 
-my $batch_size = 100;
+my $batch_size = 10;
 my $lower_bound = 0;
 
 my $result = GetOptions("lower-bound=i" => \$lower_bound,
@@ -61,13 +61,13 @@ my $result = GetOptions("lower-bound=i" => \$lower_bound,
 #my $dsn = "dbi:Pg:database=" . $egdbi->database;
 
 #my $dsn = "dbi:Pg:database=rel_2_4_1_20130821_auth_v3";
-my $dsn = "dbi:Pg:database=rel_2_4_1_20130816_200bib_kcls_v6";
+my $dsn = "dbi:Pg:database=evergreen";
 
 #if ($egdbi->host) {
 #    $dsn .= ";host=" . $egdbi->host;
 #}
 
-$dsn .= ";host=192.168.0.202";
+$dsn .= ";host=10.1.6.11";
 
 #if ($egdbi->port) {
 #    $dsn .= ";port=" . $egdbi->port;
@@ -77,7 +77,7 @@ $dsn .= ";port=5432";
 
 #my $dbh = DBI->connect($dsn,$egdbi->user,$egdbi->password);
 
-my $dbh = DBI->connect($dsn,"evergreen","evergreen");
+my $dbh = DBI->connect($dsn,"evergreen","as.oi76tqyh!a$");
 
 my $q = <<END_OF_Q;
 SELECT id
index 37210bd..d0a970b 100644 (file)
@@ -1,5 +1,7 @@
 This readme will tell you how to run the linking.  
 
+make sure JSONPrefs.pm is in the perl folder
+
 First you must modify authority_control_fields_batcher.pl with your database information and the size
 of the batches you wish to run.