Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8287D106B7 for ; Sat, 14 Dec 2013 12:41:52 +0000 (UTC) Received: (qmail 28862 invoked by uid 500); 14 Dec 2013 12:41:50 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 28638 invoked by uid 500); 14 Dec 2013 12:41:45 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 28630 invoked by uid 99); 14 Dec 2013 12:41:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 12:41:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 12:41:40 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 168E623888FE; Sat, 14 Dec 2013 12:41:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1550931 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Date: Sat, 14 Dec 2013 12:41:18 -0000 To: cvs@httpd.apache.org From: lgentis@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131214124119.168E623888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lgentis Date: Sat Dec 14 12:41:18 2013 New Revision: 1550931 URL: http://svn.apache.org/r1550931 Log: Update. Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr?rev=1550931&r1=1550930&r2=1550931&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml.fr Sat Dec 14 12:41:18 2013 @@ -1,7 +1,7 @@ - + @@ -1208,7 +1208,7 @@ données et extraire des informati function handle(r) -- connexion à la base de données - local database, err = r:dbacquire("mysql", "server=localhost,user=root,dbname=mydb") + local database, err = r:dbacquire("mysql", "server=localhost,user=someuser,pass=somepass,dbname=mydb") if not err then -- Sélection de certaines informations local results, err = database:select(r, "SELECT `name`, `age` FROM `people` WHERE 1")