summaryrefslogtreecommitdiff
path: root/docs/man/gammu-smsd-odbc.7
blob: 9bccec606459960e54e73613fd8943285c54fdc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.TH "GAMMU-SMSD-ODBC" "7" "November 07, 2011" "1.30.90" "Gammu"
.SH NAME
gammu-smsd-odbc \- gammu-smsd(1) backend using ODBC abstraction layer to use any supported database as a message storage
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructeredText.
.
.sp
New in version 1.29.92.
.sp
ODBC backend stores all data in any database supported by \fI\%ODBC\fP, which
parameters are defined by configuration (see \fIgammu\-smsdrc\fP for description of
configuration options).
.sp
For tables description see \fIgammu\-smsd\-tables\fP.
.sp
This backend is based on \fIgammu\-smsd\-sql\fP.
.SH SUPPORTED DRIVERS
.sp
On Microsoft Windows, Gammu uses native ODBC, on other platforms, \fI\%unixODBC\fP
can be used.
.SH LIMITATIONS
.sp
Due to limits of the ODBC interface, you might have to tweak SQL queries to
work in used SQL server, see \fISQL Queries\fP for more details.
.sp
Partially this can be configured using \fBSQL\fP.
.SH CONFIGURATION
.sp
You specify data source name (DSN) as \fBHost\fP in
\fIgammu\-smsdrc\fP. The data source is configured depending on your platform.
.sp
On Microsoft Windows, you can find instructions on Microsoft website:
\fI\%http://support.microsoft.com/kb/305599\fP
.sp
For unixODBC this is documented in the user manual:
\fI\%http://www.unixodbc.org/doc/UserManual/\fP
.SH EXAMPLE
.sp
Example configuration:
.sp
.nf
.ft C
[smsd]
service = sql
driver = odbc
host = dsn_of_your_database
sql = sql_variant_to_use
user = username
password = password
.ft P
.fi
.SH AUTHOR
Michal Čihař <michal@cihar.com>
.SH COPYRIGHT
2009-2011, Michal Čihař <michal@cihar.com>
.\" Generated by docutils manpage writer.
.\" 
.