> 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.
Hi,
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
~ Keith Bradnam - WormBase group: http://www.wormbase.org/
~
~ The Wellcome Trust Sanger Institute,
~ Hinxton, Cambridge, CB10 1SA, UK. Tel: 01223 494922