diff options
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} |