[Bioperl-l] error running load_seqdatabase.pl

Angshu Kar angshu96 at gmail.com
Thu Dec 29 17:50:29 EST 2005


Hi,

I'm getting the following error while trying to run :

./load_seqdatabase.pl -host localhost -dbname USBA -dbuser postgres -format
genbank NC_003076.gbk

Loading NC_003076.gbk ...

------------- EXCEPTION  -------------
MSG: failed to open connection: Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2)
STACK Bio::DB::DBI::base::new_connection /home/akar/local/perl/Bio/DB/D
BI/base.pm:255
STACK Bio::DB::DBI::base::get_connection /home/akar/local/perl/Bio/DB/D
BI/base.pm:215
STACK Bio::DB::BioSQL::BasePersistenceAdaptor::dbh
/home/akar/local/perl/Bio/DB/BioSQL/BasePersistenceAdaptor.pm:1477
STACK Bio::DB::BioSQL::BasePersistenceAdaptor::rollback
/home/akar/local/perl/Bio/DB/BioSQL/BasePersistenceAdaptor.pm:1396
STACK toplevel ./load_seqdatabase.pl:627

But I've a postgreSQL db and not a MySQL one...could anyone please guide me
troubleshoot this?

Thanks,
Angshu



More information about the Bioperl-l mailing list