Skip to content

Commit

Permalink
db_unixodbc: docs - removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 3c085a3 commit ca80661
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions src/modules/db_unixodbc/doc/db_unixodbc.xml
Expand Up @@ -36,9 +36,9 @@
</copyright>
</bookinfo>
<toc></toc>

<xi:include href="db_unixodbc_admin.xml"/>
<xi:include href="db_unixodbc_devel.xml"/>


</book>
24 changes: 12 additions & 12 deletions src/modules/db_unixodbc/doc/db_unixodbc_admin.xml
Expand Up @@ -10,22 +10,22 @@
<!-- Module User's Guide -->

<chapter>

<title>&adminguide;</title>

<section>
<title>Overview</title>
<para>
This module allows to use the unixodbc package with &kamailio;. It have been
tested with mysql and the odbc connector, but it should work also with
This module allows to use the unixodbc package with &kamailio;. It have been
tested with mysql and the odbc connector, but it should work also with
other database. The auth_db module works.
</para>
<para>
For more information, see the <ulink url="http://www.unixodbc.org/">
http://www.unixodbc.org/</ulink> project web page.
</para>
<para>
To see what DB engines can be used via unixodbc, look at
To see what DB engines can be used via unixodbc, look at
<ulink url="http://www.unixodbc.org/drivers.html">
http://www.unixodbc.org/drivers.html</ulink>.
</para>
Expand Down Expand Up @@ -188,9 +188,9 @@ modparam("db_unixodbc", "quote_char", "`")
<section>
<title>Installing</title>
<para>
Prerequirement: you should first install unixodbc (or another program that
implements the odbc standard, such iodbc), your database, and the right
connector. Set the DSN in the odbc.ini file and the connector drivers in
Prerequirement: you should first install unixodbc (or another program that
implements the odbc standard, such iodbc), your database, and the right
connector. Set the DSN in the odbc.ini file and the connector drivers in
the odbcinst.ini file.
</para>
</section>
Expand Down Expand Up @@ -218,27 +218,27 @@ modparam("auth_db", "password_column", "password")
....
</programlisting>
<para>
and setting the DSN specified in the odbc.ini, inserting this with the
and setting the DSN specified in the odbc.ini, inserting this with the
url adding this line:
</para>
<programlisting format="linespecific">
....
modparam("usrloc|auth_db", "db_url",
modparam("usrloc|auth_db", "db_url",
"unixodbc://kamailio:kamailiorw@localhost/my_dsn")
....
</programlisting>
<para>
replacing my_dsn with the correct value.
</para>
<para>
HINT: if unixodbc don't want to connect to mysql server, try restarting
HINT: if unixodbc don't want to connect to mysql server, try restarting
mysql server with:
</para>
<programlisting format="linespecific">
shell>safe_mysqld --user=mysql --socket=/var/lib/mysql/mysql.sock
</programlisting>
<para>
The connector search the socket in /var/lib/mysql/mysql.sock and not
The connector search the socket in /var/lib/mysql/mysql.sock and not
in /tmp/mysql.sock
</para>

Expand Down
4 changes: 2 additions & 2 deletions src/modules/db_unixodbc/doc/db_unixodbc_devel.xml
Expand Up @@ -10,10 +10,10 @@
<!-- Module Developer's Guide -->

<chapter>

<title>&develguide;</title>
<para>
The module implements the &kamailio; DB <acronym>API</acronym>, in order to
The module implements the &kamailio; DB <acronym>API</acronym>, in order to
be used by other modules.
</para>
</chapter>
Expand Down

0 comments on commit ca80661

Please sign in to comment.