[Bioperl-l] error running load_seqdatabase.pl
angshu96 at gmail.com
Thu Dec 29 21:00:23 EST 2005
I'm sorry that I missed it! Thanks for pointing it out.
Also thanks Hilmar for the update.
On 12/29/05, Torsten Seemann <torsten.seemann at infotech.monash.edu.au >
> > I'm getting the following error while trying to run :
> > ./load_seqdatabase.pl -host localhost -dbname USBA -dbuser postgres
> > genbank NC_003076.gbk
> > MSG: failed to open connection: Can't connect to local MySQL server
> > socket '/var/lib/mysql/mysql.sock' (2)
> > But I've a postgreSQL db and not a MySQL one...could anyone please guide
> > troubleshoot this?
> Did you read the documentation for the load_seqdatabase.pl script?
> It's in the script itself!
> =item --driver $driver
> the DBI driver name for the RDBMS e.g., mysql, Pg, or Oracle [mysql]
> The default DBI driver is [mysql].
> I think you want the option "-driver Pg".
> Torsten Seemann
> Victorian Bioinformatics Consortium, Monash University, Australia
More information about the Bioperl-l