On Fri, May 23, 2008 at 09:44:12AM -0700, Mahlon E. Smith wrote: > > Connection code (perl): > --------------------------------------------------------- > > use RDF::Redland; > my $storage = > RDF::Redland::Storage->new( 'postgresql', 'test', > > "database='mahlon',host='127.0.0.1',new='yes',user='mahlon',write='yes'"); > my $model = RDF::Redland::Model->new( $storage, '' ); > > Localhost connections are trusted to postgres, no pw required.
I had a similar problem and had to look at the postgres back-end source code to figure it out. The driver requires that all of the options for the database are specified even if they are the default or empty, so if you add port and password I think it will work. I use, "database='envisat',host='localhost',port='5432',user='envisat',password='',contexts='yes'" Cheers, -w _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
