]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Update.
authorLucien Gentis <lgentis@apache.org>
Sat, 14 Dec 2013 12:41:18 +0000 (12:41 +0000)
committerLucien Gentis <lgentis@apache.org>
Sat, 14 Dec 2013 12:41:18 +0000 (12:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1550931 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml.fr

index b564bc9ed0336d854b88c9f5f70f6c0820bd8f89..7ae13d58f540bdf318dfe7fedf9a124afbfbe5be 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1523433 -->
+<!-- English Revision : 1550686 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -1208,7 +1208,7 @@ donn&eacute;es et extraire des informations d'une table :</p>
     <highlight language="lua">
 function handle(r)
     -- connexion &agrave; la base de donn&eacute;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&eacute;lection de certaines informations
         local results, err = database:select(r, "SELECT `name`, `age` FROM `people` WHERE 1")