local acedb server + aceperl

Keith Bradnam krb at sanger.ac.uk
Tue Feb 18 03:45:38 EST 2003

> But when I try to access the database with perl I run into problems.
> This is the code:
> use Ace;
> use strict;
> my ($local);
> $local = Ace->connect (-host=>'localhost' -port=>20113) || die "can't
> open database\n$!\n", Ace->error;
> I get the following error:
> can't open database
> Permission denied
> Couldn't open database at acetest2.pl in line 6.


Have you tried seeing whether you can use AcePerl to connect directly to
the database (rather than the server).  I.e.

$local = Ace->connect (-path =>/some/path/to/database/);

If this works then it would suggest it is a server problem, if this
doesn't work then maybe it is a file permissions problem. 


~  Keith Bradnam - WormBase group: http://www.wormbase.org/
~  The Wellcome Trust Sanger Institute,
~  Hinxton, Cambridge, CB10 1SA, UK.  Tel: 01223 494922

More information about the Acedb mailing list

Send comments to us at biosci-help [At] net.bio.net