summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_lua.html.fr
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2013-12-26 16:07:38 +0100
committerAndré Malo <nd@apache.org>2013-12-26 16:07:38 +0100
commit8014765ceb4d68f34923bdae549aa1e705e81cb8 (patch)
treee355a5dbe232190629dc36e143a471795698e4b4 /docs/manual/mod/mod_lua.html.fr
parent[trunk][doc] Introducing .fr translation for mod/mod_authz_groupfile.xml (diff)
downloadapache2-8014765ceb4d68f34923bdae549aa1e705e81cb8.tar.xz
apache2-8014765ceb4d68f34923bdae549aa1e705e81cb8.zip
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1553493 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_lua.html.fr')
-rw-r--r--docs/manual/mod/mod_lua.html.fr2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_lua.html.fr b/docs/manual/mod/mod_lua.html.fr
index 0d4dcffed8..03491c46d8 100644
--- a/docs/manual/mod/mod_lua.html.fr
+++ b/docs/manual/mod/mod_lua.html.fr
@@ -1300,7 +1300,7 @@ données et extraire des informations d'une table :</p>
<pre class="prettyprint lang-lua">
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")