From: Lucien Gentis
Date: Sat, 14 Dec 2013 12:41:18 +0000 (+0000)
Subject: Update.
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34b0f1e957535e5cd5750e8eb99f7466df396c0;p=thirdparty%2Fapache%2Fhttpd.git
Update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550931 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_lua.xml.fr b/docs/manual/mod/mod_lua.xml.fr
index b564bc9ed03..7ae13d58f54 100644
--- a/docs/manual/mod/mod_lua.xml.fr
+++ b/docs/manual/mod/mod_lua.xml.fr
@@ -1,7 +1,7 @@
-
+
@@ -1208,7 +1208,7 @@ données et extraire des informations d'une table :
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")