[Bioperl-l] problem in access Ensembl.

Jinhua Wang wang@cshl.org
Wed, 20 Feb 2002 00:45:22 -0500


when I ran the following test script to access EnsEMBL database, I got
the
error message:

DBD::mysql::st execute failed: Unknown column 'meta_value' in 'field
list' at
/usr/lib/perl5/site_perl/5.6.0/Bio/EnsEMBL/DBSQL/MetaContainer.pm line
134.
DBD::mysql::st execute failed: Unknown column 'meta_value' in 'field
list' at
/usr/lib/perl5/site_perl/5.6.0/Bio/EnsEMBL/DBSQL/MetaContainer.pm line
134.



-------------------------------------------

use DBI;
use Bio::EnsEMBL::DBSQL::DBAdaptor;

my $host = 'kaka.sanger.ac.uk';
my $user = 'anonymous';
#my $dbname = 'current';
my $dbname = 'ensembl100';

my $db = new Bio::EnsEMBL::DBSQL::DBAdaptor(-host =>$host,
      -user =>$user,
      -dbname =>$dbname);

my @clones = $db->get_all_Clone_id;

foreach my $clone (@clones){
   print $clone->id."\n";}



what's the problem?

Thanks,
JH