summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-03-27 16:49:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-03-27 16:49:24 +0100
commit71d87b0fcdda024b02d762e2809ef9f7561cfb1d (patch)
tree6586409ecbdb878bd566e5fc270766cde3dee098
parent644248474333ed76b999a6c9a7278a5949773418 (diff)
port change
-rwxr-xr-xbin/iris-delay-stats2
-rw-r--r--index.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/iris-delay-stats b/bin/iris-delay-stats
index 1083348..9ca42d5 100755
--- a/bin/iris-delay-stats
+++ b/bin/iris-delay-stats
@@ -13,7 +13,7 @@ our $VERSION = '0.00';
my $station = shift or die("Usage: $0 <station> [database]\n");
my $dbname = shift // 'dbdb';
-my $dbh = DBI->connect( "dbi:Pg:dbname=$dbname;host=localhost;port=5432",
+my $dbh = DBI->connect( "dbi:Pg:dbname=$dbname;host=localhost;port=5433",
'dbdb', $ENV{DBDB_PASSWORD} );
sub int_or_undef {
diff --git a/index.pl b/index.pl
index e957f2d..7e639a1 100644
--- a/index.pl
+++ b/index.pl
@@ -19,7 +19,7 @@ app->attr(
my $dbname = 'dbdb';
my $dbh
- = DBI->connect( "dbi:Pg:dbname=$dbname;host=localhost;port=5432",
+ = DBI->connect( "dbi:Pg:dbname=$dbname;host=localhost;port=5433",
'dbdb', $ENV{DBDB_PASSWORD}, { RaiseError => 1 } );
return $dbh;