Re: Setting up DBI on a Mac for a novice

2007-12-06 Thread Alexander Foken
I would install perl and mysql (if not already present), then run the cpan script (or perl -MCPAN -e shell) in a Terminal session (as root), answer all CPAN questions (defaults are ok), then type install DBD::mysql. Report problems with that method here. Alexander Bruce Martin wrote: Hello

Re: Setting up DBI on a Mac for a novice

2007-12-06 Thread Tim Bunce
You're more likely to get people to give their time to help you if it's clear that you've already tried to help yourself. See http://www.catb.org/~esr/faqs/smart-questions.html Tim. On Wed, Dec 05, 2007 at 04:14:56PM -0500, Bruce Martin wrote: Hello all, I know this can be done but does

Re: Setting up DBI on a Mac for a novice

2007-12-06 Thread Henri Asseily
I guess he doesn't want to pollute his system by trial and error. Answer: http://www.quicomm.com/apm_dbddbi.htm --- Henri Asseily henri.tel Fools ignore complexity; pragmatists suffer it; experts avoid it; geniuses remove it. - Alan Perlis On Dec 6,

Getting all names in mdb

2007-12-06 Thread 田口 浩
Hello, I'm using .mdb file with DBI/DBD::ODBC. my $dbh = DBI-connect(dbi:ODBC:test, , , {RaiseError = 1, AutoCommit = 0, LongReadLen = 409600}) or die $DBI::errstr; Anyone will teach me how to get all names of tables (in test.mdb)? Regards, Hirosi Taguti

Re: Getting all names in mdb

2007-12-06 Thread Alexander Foken
Did you try $dbh-table_info()? (http://search.cpan.org/~timb/DBI-1.601/DBI.pm#table_info) If yes, what was the problem? Alexander On 07.12.2007 03:19, 田口 浩 wrote: Hello, I'm using .mdb file with DBI/DBD::ODBC. my $dbh = DBI-connect(dbi:ODBC:test, , , {RaiseError = 1, AutoCommit = 0,