Menu

#1 db port setting not applied in gps-maintain.pl

open
nobody
None
5
2009-05-06
2009-05-06
Anonymous
No

database port configuration was not applied in gps-maintain.pl

here is the patch!

--- gps-maintain.pl.orig 2009-05-06 16:34:54.000000000 +0900
+++ gps-maintain.pl 2009-05-06 16:34:57.000000000 +0900
@@ -244,7 +244,7 @@
$gpsConfig{'db_host'} = '127.0.0.1';
}

-my $dsn = sprintf('DBI:%s:dbname=%s;host=%s;port=',
+my $dsn = sprintf('DBI:%s:dbname=%s;host=%s;port=%s',
$gpsConfig{'dbtype'},
$gpsConfig{'db_dbname'},
$gpsConfig{'db_host'},

Discussion


Log in to post a comment.

MongoDB Logo MongoDB