Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Class::DBI under Cygwin

0 views
Skip to first unread message

Mark Grimes

unread,
Feb 24, 2004, 10:08:34 PM2/24/04
to
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('te...@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

0 new messages