diff options
author | Mickaël Rémond <mickael.remond@process-one.net> | 2007-03-10 15:53:53 +0000 |
---|---|---|
committer | Mickaël Rémond <mickael.remond@process-one.net> | 2007-03-10 15:53:53 +0000 |
commit | 48c073abd27a9cf35d918dacc7721fc03945b709 (patch) | |
tree | a0c128f0f1d66ea79665eff0c7de7d0f97e249ba /doc/guide.tex | |
parent | * src/mod_muc/mod_muc_log.erl: Fix wrong return on check access log. (diff) |
* 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
Diffstat (limited to 'doc/guide.tex')
-rw-r--r-- | doc/guide.tex | 27 |
1 files changed, 27 insertions, 0 deletions
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} |