You may want to install a relational database in order to use bioperl-db, BioSQL or OBDA. The easiest way to install Mysql is to use the Windows binaries available at www.mysql.com. Note that Windows does not have sockets, so you need to force the Mysql connections to use TCP/IP instead. Do this by using the "-h", or host, option from the command-line. :
Create a database from a blast report. ... my $dbh = DBI->connect('DBI:mysql:COLAB2','mohammed','spiceup',
Alternatively you could install postgres instead of Mysql, postgres is already a package in Cygwin.>mysql -h 127.0.0.1 -u <user> -p<password> <database>
One known issue is that DBD::mysql can be tricky to install in Cygwin and this module is required for the bioperl-db, Biosql, and bioperl-pipeline external packages. Fortunately there's some good instructions online: http://search.cpan.org/src/JWIED/DBD-mysql-2.1025/INSTALL.html#windows/cygwin. It may be that these issues have been resolved in versions later than 2.9.
Edit: g0n - inserted formatting tags
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CREATE TABLES IN PERL (MYSQL)
by Joost (Canon) on Dec 04, 2007 at 02:46 UTC | |
by locked_user ryt2aamir (Initiate) on Dec 04, 2007 at 02:50 UTC | |
by aquarium (Curate) on Dec 04, 2007 at 02:57 UTC | |
|
Re: CREATE TABLES IN PERL (MYSQL)
by aquarium (Curate) on Dec 04, 2007 at 02:32 UTC | |
|
Re: connect to a database with DBI
by TOD (Friar) on Dec 04, 2007 at 04:11 UTC | |
|
Re: connect to a database with DBI
by Gangabass (Vicar) on Dec 04, 2007 at 03:37 UTC | |
|
Re: connect to a database with DBI
by apl (Monsignor) on Dec 04, 2007 at 10:48 UTC |