From: Daniel Gruno Date: Tue, 15 Jan 2013 10:43:44 +0000 (+0000) Subject: fix mysql connection string in example X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbe0e0f790301272bdf75fac2a4c5afe6e33f421;p=thirdparty%2Fapache%2Fhttpd.git fix mysql connection string in example git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1433346 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_lua.xml b/docs/manual/mod/mod_lua.xml index 2d305c4ae24..fcb26e539b6 100644 --- a/docs/manual/mod/mod_lua.xml +++ b/docs/manual/mod/mod_lua.xml @@ -896,7 +896,7 @@ end function handler(r) -- Acquire a database handle - local database, err = r:dbacquire("mysql", "server=localhost&user=root&database=mydb") + local database, err = r:dbacquire("mysql", "server=localhost,user=root,dbname=mydb") if not err then -- Select some information from it local results, err = database:select(r, "SELECT `name`, `age` FROM `people` WHERE 1")