Class::DBI under Cygwin

From: Mark Grimes (mvg_yho_at_yahoo.com)
Date: 02/25/04


Date: 24 Feb 2004 19:08:34 -0800

Has anyone had success getting Class::DBI or Class::DBI working under
cygwin?

I think I have all the pre-reqs working just not Class::DBI. Here's
the details:

MySQL
- installed mysql for the windows platform
- works

DBI::mysql
- compiled my own non-server mysql libraries under cygwin
- mysql -h 127.0.0.1 connects and works beautifully
- installed DBI::mysql
- configured for the test database
- make test passes all tests except t/mysql 46-48. These have
something to do with the listfields method and
type/is_not_null/is_pri_key methods. The README suggests that minor
make test errors can be ignored under cygwin, and these don't appear
to be vital (though maybe they are?).

Ima::DBI
- installed and passes all test

DBD::SQLite (used for testing Class::DBI)
- passes all tests although it outputs this error message repeatedly
"Bad free() ignored (PERL_CORE) at ..../DBD/SQLite.pm line 188."

Class::DBD
- fails make test
- reports the following error message repeatedly, but again
DBD::SQLite make test worked?
"Ima::DBI connect('dbname=/tmp/oMfssR8AkR','',...) failed: unable to
open database: /tmp/oMfssR8AkR at t/02-Film.t line 15"
- reports the following error message for mysql tests:
"t/10-mysql..........DBI connect('test@127.0.0.1:3306','mgrimes',...)
failed: Can't connect to MySQL server on '3306' (116) at (eval 1) line
3"

I'm running out of ideas. I thought I had succeeded when I got
DBD::mysql to work (no small challenge). Any suggestions are more
apprecaited!

Thanks,
Mark



Relevant Pages

  • Re: Python, xml, databases, ...
    ... I think you want to be clear whether you want a database or not. ... Any machine can run a service (such as MySQL or PostgreSQL), ... both MySQL and PostgreSQL rely on the Cygwin dll. ...
    (comp.lang.python)
  • mysql.so: Permission denied (Ruby under Cygwin)
    ... Running Ruby 1.8.6 under Cygwin, ... raises the following error message: ... Using the mysql module with Ruby on Windows outside Cygwin works well. ...
    (comp.lang.ruby)
  • Re: Datenupdate
    ... Wieso soll sich jemand der Windows benutzt, sich ein CygWin installieren oder ein anderes OS benutzen, um das Tool "awk" zu benutzen? ... Und das CLI (mysql) ist ja sowieso das einzigste, standardmässig installierte Tool, um mit MySQL zu kommunizieren. ...
    (de.comp.datenbanken.mysql)
  • Re: GNADE samples on windows (cygwin)
    ... > Under cygwin I have installed gcc 3.3.3 and GNADE. ... > mysql are installed on the PC, ... I'm using MySQL with GNADE via ODBC, ... > to document how to install mysql etc on cygwin. ...
    (comp.lang.ada)
  • Re: Problem with bind_param using DBD::mysql
    ... I use MS VC++ 6.0 SP5 to build Perl, MySQL and DBD-mysql. ... Perl builds fine using Cygwin and using MinGW, ...
    (perl.dbi.users)