RE: [PATCH] mysql host,user,password configurtion for DLR

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Here's a patch to userguide.xml. hope this is good eough (I'm not very
bright at writing documentation :-).

--
Oded Arbel
m-Wise Inc.
[email protected]

Nothing ever becomes real until it is experienced. 
	-- John Keats 


> -----Original Message-----
> From: Bruno David Rodrigues [mailto:[email protected]]
> Sent: Wednesday, March 06, 2002 5:06 PM
> To: Oded Arbel
> Cc: Kannel-devel (E-mail)
> Subject: Re: [PATCH] mysql host,user,password configurtion for DLR
> 
> 
> I've added your patch (and added a mysql-dbname configuration too, 
> so you can have several kannel's running and define a different db for
> each one), but now I need information to put in userguide regarding
> mysql and dlr.
> 
> could you send me ? userguide.xml patch or text only...
> 
> group, config values, usage, etc
> 
> 
> ----- Original Message ----- 
> From: "Oded Arbel" <[email protected]>
> To: "Kannel-devel (E-mail)" <[email protected]>
> Sent: Tuesday, March 05, 2002 1:52 PM
> Subject: [PATCH] mysql host,user,password configurtion for DLR
> 
> 
> Hi list.
> 
> A quick patch to add support for changing the mysql database hostname,
> username and password for use in DLR (with mysql). 
> Tested with defaults (hardcoded in the source) and settings in the
> config file both for local and remote servers.
> 
> As usuall, "Works for me(tm)" and YMMV.
> 
> Oded Arbel
> m-Wise Inc.
> [email protected]
> 
> --
> Finagle's Fourth Law:
>         Once a job is fouled up, anything done to improve it 
> only makes
> it worse.
> 
> 
> 
> 
> 
>
userguide.patch (application/octet-stream, 2 KB)
--- doc/userguide/userguide.xml	Tue Mar  5 14:13:50 2002
+++ doc/userguide/userguide.xml	Thu Mar  7 10:41:22 2002
@@ -1101,6 +1101,41 @@
         can duplicate when system is taken down violently. 
      </entry></row>
 
+    <row><entry><literal>mysql-host</literal></entry>
+     <entry>hostname or IP</entry>
+     <entry valign=bottom>
+        Hostname or IP of a server running a MySQL database to connect to 
+	for use with delivery reports persistant storage. When building 
+	Kannel with --enable-mysql-dlr it will attempt to connect to this 
+	database for storing delivery report data. By default this is set 
+	to 'localhost',	so unless your MySQL server is running on the same 
+	server as Kannel, then you need to set this.
+     </entry></row>
+
+    <row><entry><literal>mysql-username</literal></entry>
+     <entry>username</entry>
+     <entry valign=bottom>
+        User name for connecting to MySQL database for storing delivery reports
+	persistant data. By default this is set to 'username', so you probably 
+	want to set this if you use MySQL for delivery reports persistancy.
+     </entry></row>
+
+    <row><entry><literal>mysql-password</literal></entry>
+     <entry>password</entry>
+     <entry valign=bottom>
+        Password for connecting to MySQL database for storing delivery reports
+	persistant data. By default this is set to 'password', so you probably
+	want to set this if you use MySQL for delivery reports persistancy.
+     </entry></row>
+
+    <row><entry><literal>mysql-dbname</literal></entry>
+     <entry>string</entry>
+     <entry valign=bottom>
+        Name of database in MySQL database server to connect to for storing delivery
+	reports persistant data. by default this is set to 'DLR'. unless you want to use
+	multiple Kannels with the same MySQL server you wouldn't want to change that.
+     </entry></row>
+
     <row><entry><literal>http-proxy-host</literal></entry>
      <entry>hostname</entry>
      <entry morerows=1 valign=bottom>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.