Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 40423 invoked from network); 23 Nov 2006 15:21:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2006 15:21:02 -0000 Received: (qmail 57034 invoked by uid 500); 23 Nov 2006 15:21:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 57021 invoked by uid 500); 23 Nov 2006 15:21:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 57009 invoked by uid 99); 23 Nov 2006 15:21:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Nov 2006 07:21:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.23.114.76] (HELO smtp.decimal.pt) (195.23.114.76) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Nov 2006 07:20:50 -0800 Received: from smtp.decimal.pt (localhost.localdomain [127.0.0.1]) by smtp.decimal.pt (Postfix) with ESMTP id B80144D0 for ; Thu, 23 Nov 2006 15:17:58 +0000 (WET) Received: by smtp.decimal.pt (Postfix, from userid 1001) id AAD3C5EA1; Thu, 23 Nov 2006 15:17:58 +0000 (WET) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on lira X-Spam-Level: Received: from pcjorge (unknown [192.168.1.3]) by smtp.decimal.pt (Postfix) with ESMTP id 822764D0 for ; Thu, 23 Nov 2006 15:17:57 +0000 (WET) Message-ID: <048701c70f12$96412c30$0301a8c0@hercules.decimalint.pt> From: "Jorge Bastos" To: References: <03fc01c70f0f$c65c6ae0$0301a8c0@hercules.decimalint.pt> <1164294973.24683.4.camel@linux-1u45.site> Date: Thu, 23 Nov 2006 15:18:10 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.7 Subject: Re: Fw: [users@httpd] Problem with SQL statment Well... AuthDBDUserPWQuery "select password from users where username='%s'" the % in %s for sure that is the username that cames in HTTP AUTH as the docs describe in: http://httpd.apache.org/docs/2.2/mod/mod_authn_dbd.html So... why isn't apache sending the username, anyone? Jorge ----- Original Message ----- From: "John Meyer" To: Sent: Thursday, November 23, 2006 3:16 PM Subject: Re: Fw: [users@httpd] Problem with SQL statment > On Thu, 2006-11-23 at 14:58 +0000, Jorge Bastos wrote: >> Guys, >> >> Anyone? > > I suggest you post this at mysql@lists.mysql.com This is an Apache > list, not a MySQL one. > > But just to give you a hint, "%" is a wildcard character in MySQL. It > is not replaced with the username. > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org