[Bioperl-l] Connecting to Bio::DB::GFF db
Scott Cain
cain at cshl.edu
Mon Aug 1 15:41:10 EDT 2005
You have to use a dsn that is appropriate for your database server--that
is, the mysql one will look a little different from a postgres one, but
generally, it will look like this:
-dsn dbi:mysql:elegans;host=hostname;port=port_number
You can leave off port if the database server is using a standard port.
On Mon, 2005-08-01 at 14:29 -0500, Andrew Nunberg wrote:
> When connection to a Bio::DB::GFF db, how do I specify the host ? I would
> like to connect to a db on another machine
>
> Thanks
>
>
--
------------------------------------------------------------------------
Scott Cain, Ph. D. cain at cshl.edu
GMOD Coordinator (http://www.gmod.org/) 216-392-3087
Cold Spring Harbor Laboratory
More information about the Bioperl-l
mailing list