httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgen...@apache.org
Subject svn commit: r1550932 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr
Date Sat, 14 Dec 2013 12:42:22 GMT
Author: lgentis
Date: Sat Dec 14 12:42:22 2013
New Revision: 1550932

URL: http://svn.apache.org/r1550932
Log:
Update.

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr?rev=1550932&r1=1550931&r2=1550932&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_lua.xml.fr Sat Dec 14 12:42:22 2013
@@ -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 informati
     <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")



Mime
View raw message