From 48c073abd27a9cf35d918dacc7721fc03945b709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Sat, 10 Mar 2007 15:53:53 +0000 Subject: * src/odbc/ejabberd_odbc.erl: ejabberd admin can now choose the relational database port to user from ejabberd configuration file (EJAB-195). * src/doc/guide.tex: Likewise. SVN Revision: 740 --- doc/guide.tex | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'doc/guide.tex') diff --git a/doc/guide.tex b/doc/guide.tex index 01b89ea93..88102293b 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -1037,6 +1037,20 @@ parameter: {odbc_server, {mysql, "localhost", "test", "root", "password"}}. \end{verbatim} +Optionally, it is possible to define the MySQL port to use. This +option is only useful, in very rare cases, when you are not running +MySQL with the default port setting. The \term{mysql} parameter +can thus take the following form: +\begin{verbatim} +{mysql, "Server", Port, "Database", "Username", "Password"} +\end{verbatim} + +The \term{Port} value should be an integer, without quotes. For example: +\begin{verbatim} +{odbc_server, {mysql, "localhost", Port, "test", "root", "password"}}. +\end{verbatim} + + \subsubsection{Storage} \label{mysqlstorage} \ind{MySQL!storage} @@ -1162,6 +1176,19 @@ form as parameter: {odbc_server, {pgsql, "localhost", "database", "ejabberd", "password"}}. \end{verbatim} +Optionally, it is possible to define the PostgreSQL port to use. This +option is only useful, in very rare cases, when you are not running +PostgreSQL with the default port setting. The \term{pgsql} parameter +can thus take the following form: +\begin{verbatim} +{pgsql, "Server", Port, "Database", "Username", "Password"} +\end{verbatim} + +The \term{Port} value should be an integer, without quotes. For example: +\begin{verbatim} +{odbc_server, {pgsql, "localhost", 5432, "database", "ejabberd", "password"}}. +\end{verbatim} + \subsubsection{Storage} \label{pgsqlstorage} \ind{PostgreSQL!storage} -- cgit v1.2.3