[rt-users] Eeek! RT is unable to connect to database

Jerrad Pierce jpierce at cambridgeenergyalliance.org
Tue Feb 10 13:57:21 EST 2009


This second debug script also works?! and yields similar output.

use lib qw(/opt/rt3/lib/ /opt/rt3/local/lib);
use RT;
use Data::Dumper;

RT::LoadConfig();
RT->Init();

$r = $RT::Handle->SimpleQuery(' Select * From Users LIMIT 2');
print Dumper $_ while( $_ = $r->fetchrow_hashref );



More information about the rt-users mailing list