]> granicus.if.org Git - apache/commitdiff
Update.
authorLucien Gentis <lgentis@apache.org>
Sat, 14 Dec 2013 12:42:22 +0000 (12:42 +0000)
committerLucien Gentis <lgentis@apache.org>
Sat, 14 Dec 2013 12:42:22 +0000 (12:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1550932 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml.fr

index e1dd0ce699ffa5b36d1043b1844f73b085f223af..2f4ca54d88110b7e2cdac62a65c30939a57b02c9 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: 1523974:1550685 (outdated) -->
+<!-- English Revision : 1550685 -->
 <!-- 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")