Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 62334 invoked from network); 2 Oct 2008 10:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2008 10:54:03 -0000 Received: (qmail 95362 invoked by uid 500); 2 Oct 2008 10:54:01 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 95006 invoked by uid 500); 2 Oct 2008 10:54:00 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 94995 invoked by uid 99); 2 Oct 2008 10:54:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 03:54:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.248.150.22] (HELO smtp.ez.no) (194.248.150.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 10:52:57 +0000 Received: from ezjr.local (gai69-1-87-91-102-67.dsl.club-internet.fr [87.91.102.67]) by smtp.ez.no (Postfix) with ESMTP id 082CCAB54C for ; Thu, 2 Oct 2008 12:45:06 +0200 (CEST) Message-ID: <48E4A820.9060709@ez.no> Date: Thu, 02 Oct 2008 12:53:20 +0200 From: =?ISO-8859-1?Q?J=E9r=F4me_Renard?= User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: writing to database in Apache module References: <6456355d0810020337h54845215l7190e43d30b3160d@mail.gmail.com> In-Reply-To: <6456355d0810020337h54845215l7190e43d30b3160d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Andrej van der Zee a �crit : > Hi, Hello > I wrote my first Apache module that gathers performance data of each > request. Currently, I write the information to a log file in the > log_transaction hook function. I would like to write this to a MySQL > database instead. What is the recommended way to do this? You may find the following links interresting: - http://people.apache.org/~niq/dbd.html - http://httpd.apache.org/docs/2.2/mod/mod_dbd.html Best Regards -- J�r�me :)