Re: Using DBI

2004-12-29 Thread Randy Kobes
On Wed, 29 Dec 2004, Octavian Rasnita wrote: > I have tried to install Apache-DBI from TheoryX but ppm gave an error: > > Error: no suitable installation target found for package Apache-DBI. That usually means that ppm found a package, but it was in a repository that didn't match your platform. D

Re: Using DBI

2004-12-28 Thread Octavian Rasnita
I have tried to install Apache-DBI from TheoryX but ppm gave an error: Error: no suitable installation target found for package Apache-DBI. How can I apply that patch manually? Do I need to edit the module Apache::DBI by hand? (Under Windows) Thanks. Teddy From: "Randy Kobes" <[EMAIL PROTECTED

Re: Using DBI

2004-12-28 Thread Randy Kobes
On Tue, 28 Dec 2004, Randy Kobes wrote: [ ... ] > Can you try the > following patch against Apache::DBI (version 0.94) - if > you're using ppm on Win32, you can get this from the > Apache-DBI.ppd package in the >http://theoryx5.uwinnipeg.ca/ppms/ > repository. Sorry about this - I missed one

Re: Using DBI

2004-12-28 Thread Randy Kobes
On Tue, 28 Dec 2004, Octavian Rasnita wrote: > Ok, but I have seen an example in a tutorial where the database is accessed > with the username, and the password from a startup.pl file exactly like > this: > > Apache::DBI->connect_on_init("DBI:mysql:database=presa;host=localhost", > "ODBC", undef,

Re: Using DBI

2004-12-28 Thread Stas Bekman
Malcolm J Harwood wrote: [...] This works if you are using the pre-fork MPM (which I understand doesn't work well under Win32 due to limitations of NT). It would seem that if you are using the worker MPM then it doesn't make a connection for each thread, just for the owning process. In which ca

Re: Using DBI

2004-12-28 Thread Malcolm J Harwood
On Tuesday 28 December 2004 04:56 pm, Octavian Rasnita wrote: > Ok, but I have seen an example in a tutorial where the database is accessed > with the username, and the password from a startup.pl file exactly like > this: > > Apache::DBI->connect_on_init("DBI:mysql:database=presa;host=localhost",

Re: Using DBI

2004-12-28 Thread Octavian Rasnita
From: "Malcolm J Harwood" <[EMAIL PROTECTED]> > [Tue Dec 28 21:07:34 2004] [error] DBD::mysql::db prepare failed: handle 2 > is owned by thread 265c564 not current thread 14ce78c (handles can't be > shared between threads and your driver may need a CLONE method added) at > f:/web/presa/modules/Get

Re: Using DBI

2004-12-28 Thread Malcolm J Harwood
On Tuesday 28 December 2004 02:21 pm, Octavian Rasnita wrote: > I am a new member on this list and after reading the posts from this list > in the last few days, I don't even know if this is the apropriate place for > asking questions about using mod_perl. It is. :) > in preload.pl: > use Apache

Re: Using DBI

2004-12-28 Thread Stas Bekman
Octavian Rasnita wrote: Hi all, I am a new member on this list and after reading the posts from this list in the last few days, I don't even know if this is the apropriate place for asking questions about using mod_perl. If it is not, please tell me if there is another list which could be more usef

Re: Using DBI and Apache::DBI together

2004-08-03 Thread Boris Zentner
Am Dienstag 03 August 2004 16:16 schrieb Tom Schindl: > Ask has already stated that he's going to include it in his next > release, I have already filed a doc-patch at rt.cpan.org > Good to know, Unfortunely I have started it also, currently I have no internet at work ;-) diff -Nur a/DBI.pm b/D

Re: Using DBI and Apache::DBI together

2004-08-03 Thread Tom Schindl
Ask has already stated that he's going to include it in his next release, I have already filed a doc-patch at rt.cpan.org Tom Stas Bekman wrote: Boris Zentner wrote: Hi, Am Mittwoch 28 Juli 2004 12:20 schrieb Tom Schindl: Boris Zentner wrote: [...] # bypass Apache::DBI $dbh = DBI->connect($data

Re: Using DBI and Apache::DBI together

2004-08-01 Thread Stas Bekman
Boris Zentner wrote: Hi, Am Mittwoch 28 Juli 2004 12:20 schrieb Tom Schindl: Boris Zentner wrote: [...] # bypass Apache::DBI $dbh = DBI->connect($data_source, $username, $password, { dbi_connect_method => 'connect' }) || die; I knew there is such a parameter, but couldn't remember it. So I took a

Re: Using DBI and Apache::DBI together

2004-07-28 Thread Boris Zentner
Hi, Am Mittwoch 28 Juli 2004 12:20 schrieb Tom Schindl: > Boris Zentner wrote: [...] > > # bypass Apache::DBI > > $dbh = DBI->connect($data_source, $username, $password, { > > dbi_connect_method => 'connect' }) || die; > > I knew there is such a parameter, but couldn't remember it. So I took a

Re: Using DBI and Apache::DBI together

2004-07-28 Thread Tom Schindl
Boris Zentner wrote: Am Mittwoch 28 Juli 2004 06:36 schrieb Chris Ochs: We have our own application server built on mod perl and the template toolkit. Most of the application specific sql queries all run as a single user which is great for Apache::DBI. Every end user also has 3-4 tables they can

Re: Using DBI and Apache::DBI together

2004-07-28 Thread Boris Zentner
Am Mittwoch 28 Juli 2004 06:36 schrieb Chris Ochs: > We have our own application server built on mod perl and the template > toolkit. Most of the application specific sql queries all run as a single > user which is great for Apache::DBI. Every end user also has 3-4 tables > they can query (using