[Spce-user] Possible reminder bug

Serge S. Yuriev me at nevian.org
Wed Aug 17 04:53:04 EDT 2016


Hello,

I'm using ver 4.4.1 from yesterday.
ngcp-reminder 0.13.1.2+0~mr4.4.1.2

script produces error
DBI connect('database=provisioning;host=localhost;port=0','',...) 
failed: Access denied for user 'root'@'localhost' (using password: NO) 
at /usr/sbin/reminder line 26.
Cannot connect to db: Access denied for user 'root'@'localhost' (using 
password: NO) at /usr/sbin/reminder line 26.


Looks like line 26 in /usr/sbin/reminder should look like
my $dbh = DBI->connect($dsn, @{cfg}{qw(dbuser dbpassword)})

instead of
my $dbh = DBI->connect($dsn, ${cfg}{qw(dbuser dbpassword)})

difference in hash reference

-- 
Serge S. Yuriev
Lead VoIP engineer




More information about the Spce-user mailing list