I've posted this to comp.lang.perl.modules but got no response. Perhaps
you can help.
I've been accessing a mysql db with (non-mod)perl/cgi. I've installed
mod_perl as per the eagle book (right down to the suggested directory
layout) and have run examples 2.1 and 2.3, so I'm
assuming Apache::Regi
Hi,
I installed Apache::DBI-0.87 on Apache 1.3.9, Perl 5.00503, mod_perl 1.2.1 running on
RedHat Linux 6.1 and I am trying to connect to MySQL 3.22.32. After making necessary
changes in httpd.conf i.e. PerlModule Apache::DBI and giving the command
/etc/rc.d/init.d/httpd restart
generate
Issuing rollback() for database handle being DESTROY'd without explicit
disconnect() at /usr/lib/perl5/site_perl/5.005/Apache/DBI.pm line 139.
Using Apache::DBI 0.88+DBI 1.14+mod_perl 1.25+MySQL 3.23.36 I'm getting the
above in my error_log and am not sure why. Any ideas? I do have a
$db->disc
IL PROTECTED]
> Subject: problem with Apache::DBI
>
>
> I've posted this to comp.lang.perl.modules but got no
> response. Perhaps
> you can help.
>
> I've been accessing a mysql db with (non-mod)perl/cgi. I've installed
> mod_perl as per the eagle book (ri
[EMAIL PROTECTED] (Pritesh Thakor) wrote:
>I installed Apache::DBI-0.87 on Apache 1.3.9, Perl 5.00503, mod_perl
>1.2.1 running on RedHat Linux 6.1 and I am trying to connect to MySQL
>3.22.32. After making necessary changes in httpd.conf i.e. PerlModule
>Apache::DBI and giving the command
>
>/etc/
Did you check to see that the server was still up. It is possible it
crashed just after the "OK" was displayed on the screen. From the
traces I've done when I've encountered similar problems, the server
parses httpd.conf once to check for errors and then forks off a daemon
copy of itself. T
Yes. I am giving this command while login as root. Other modules gets loaded properly,
but I encounter problem while loading Apache::DBI.
Thanks,
Pritesh.
On Friday, October 13, 2000 at 09:03:22 AM, [EMAIL PROTECTED] wrote:
> Are you running httpd restart with a user that has the pr
Andrew,
I gave the command when I login as a root. The real problem is all other modules
except Apache::DBI gets preloaded. So, I think there is something wrong with
Apache::DBI or there has to be some kind of version conflict.
Thanks for the reply,
Pritesh.
On Friday, October 13,
Hi Ken,
There is neither any error message generated in the error_log neither on linux prompt.
Thanks for writing,
Pritesh.
On Friday, October 13, 2000 at 01:30:50 AM, Ken Williams wrote:
> [EMAIL PROTECTED] (Pritesh Thakor) wrote:
> >I installed Apache::DBI-0.87 on Apache 1.3.9,
Hi Rob,
I am not ruling out the chances of daemon process incorrectly parsing httpd.conf.
However, there is very remote chances of this kind of problems. I would also like to
tell you that all my modules except Apache::DBI is getting preloaded. So, I think the
problem lies in Apache::DBI and
Hi Rob,
I am not ruling out the chances of daemon process incorrectly parsing httpd.conf.
However, there is very remote chances of this kind of problems. I would also like to
tell you that all my modules except Apache::DBI is getting preloaded. So, I think the
problem lies in Apache::DBI and
of WebZavod http://www.webzavod.ru
Tel. +7 (8462) 43-93-85 | +7 (8462) 43-93-86
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Tim Bunce" <[EMAIL PROTECTED]>
To: "Alec Smith" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 05, 2001 12
Similar problem here but not quite
First time now I want to use a database handler more persistent.
Not yet by using Apache::DBI but in a global $DBH
Shouldn't this just work?
I did not put Apache::DBI in startup file
I also tried code outside handler and I tried server restarts.
I always
You would only get that message if AutoCommit was off.
It should not be off for DBD::mysql (since it doesn't yet support
the transaction features of newer versions).
Plus, disconnect doesn't do anything when using Apache::DBI
(by design).
Tim.
On Wed, Apr 04, 2001 at 11:49:17PM -0400, Alec Smit
In my module I've got:
use DBI;
use Apache::DBI;
$db = DBI->connect('DBI:mysql:dbname', 'username', 'password', {RaiseError
=> 1, AutoCommit => 1});
and in startup.pl:
use DBI;
use Apache::DBI;
Apache::DBI->connect_on_init('DBI:mysql:dbname', 'username',
'password',{RaiseError => 1, AutoCommi
On Thu, 5 Apr 2001, Alec Smith wrote:
> In my module I've got:
>
> use DBI;
> use Apache::DBI;
> $db = DBI->connect('DBI:mysql:dbname', 'username', 'password', {RaiseError
> => 1, AutoCommit => 1});
Have a read of the Apache::DBI man page and it will explain what is wrong
here.
You don't need
Hi all,
I have installed on the my machine the following modules:
apache 1.3.12-2
perl-5.00503-10
mod_perl 1.21-10
DBI 1.14
Apache::DBI 0.87
For enable the mod_perl module, I added the below code in the
configuration file of apache ("httpd.conf"):
# If the perl module is installed, this
Hi all,
I am sending again the previous message because I still didn't know how
to resolve the below problem. Can anyone any idea how help me?
I have installed on the my machine the following modules:
apache 1.3.12-2
perl-5.00503-10
mod_perl 1.21-10
DBI 1.14
DBD::Oracle
Apache::DBI
Hello
Don't you need a DBD module?
Or did I miss something?
Ruben
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sorry, but I forgot, I also have installed a DBD module for the
Oracle ( the "DBD::Oracle" ). Do you have any idea to resolve this
problem?
Thanks,
Sapphire Software wrote:
> Hello
>
> Don't you need a DBD module?
>
> Or did I miss something?
>
> Ruben
>
> ---
> #!/usr/bin/perl
>
> use strict;
>
> # Extend @INC if needed
> use lib qw(/dir/foo /dir/bar);
# ok, setup the Oracle and (optionally) the debug DBI environment
BEGIN {
$ENV{'ORACLE_HOME'}='/highway/to/orac/hell';
$ENV{DBI_TRACE}="3=/var/tmp/dbitrace.log";
}
>
> # Make sure we are in
Hi,
I added the code folow in the config file, but the Apache ::DBI
module continue don't working. If I don't load the Apache::DBI module,
the apache works correctly. Using only the DBI and DBD::Oracle modules,
I can access the Oracle database no problems. Really the problem must be
in the
Edmar Edilton da Silva wrote:
>
> Hi all,
>
> I am sending again the previous message because I still didn't know how
>
> to resolve the below problem. Can anyone any idea how help me?
>
> I have installed on the my machine the following modules:
> apache 1.3.12-2
> perl-5.00503-10
November 23, 2000 5:40 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with Apache::DBI under mod_perl!!
>
>
> Hi all,
>
> I have installed on the my machine the following modules:
> apache 1.3.12-2
> perl-5.00503-10
> mod_perl 1.21-10
> DBI 1.14
> Apache
24 matches
Mail list logo