summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-03-27 17:49:08 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-03-27 17:49:08 +0100
commit156404df7fd1ad5ed6e8501d55ef9ba164817e21 (patch)
treefcf0976574662659efa0d3c567fe560027f06ddc
parent25e935ea6db9d10060de418993f5a7892cfdc291 (diff)
another port change. derp.
-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 6831ca8..f2cc5ab 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=5433",
+my $dbh = DBI->connect( "dbi:Pg:dbname=$dbname;host=localhost;port=5432",
'dbdb', $ENV{DBDB_PASSWORD} );
sub int_or_undef {
diff --git a/index.pl b/index.pl
index 7e639a1..e957f2d 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=5433",
+ = DBI->connect( "dbi:Pg:dbname=$dbname;host=localhost;port=5432",
'dbdb', $ENV{DBDB_PASSWORD}, { RaiseError => 1 } );
return $dbh;