Mysql Connection Configuration; Over-The-Air Configurations; Mysql Connection Group Variables - Kannel WAP and SMS gateway User Manual

Open source wap and sms gateway
Table of Contents

Advertisement

MySQL connection configuration
For several reasons external storage may be required to handle dynamical issues, i.e. DLRs, sms-service,
sendsms-user, ota-setting, ota-bookmark definitions and so on. To define a MySQL database connection
you simple need to specify a
Table 5-12. MySQL Connection Group Variables
Variable
group
id (m)
host (m)
mysql-username (m)
mysql-password (m)
database (m)
A sample 'mysql-connection' group:
group = mysql-connection
id = dlr-db
host = localhost
mysql-username = foo
mysql-password = bar
database = dlr
In case you use different MySQL connections for several storage issues, i.e. one for DLR and another
different one for sms-service you may use the
related configuration groups to a seperate
Over-The-Air configurations
To enable Over-The-Air configuration of phones or other client devices that support the protocol you
need to configure a
sendsms-user
group as follows:
mysql-connection
Value
mysql-connection
string
hostname or IP
username
password
string
include
mysql.conf
.
group is not necessary, you can send settings to the
ota-setting
Chapter 5. Setting up a SMS Gateway
Description
This is a mandatory variable
An optional name or id to
identify this MySQL connection
for internal reference with other
MySQL related configuration
groups. Any string is acceptable,
but semicolon ';' may cause
problems, so avoid it and any
other special non-alphabet
characters.
Hostname or IP of a server
running a MySQL database to
connect to.
User name for connecting to
MySQL database.
Password for connecting to
MySQL database.
Name of database in MySQL
database server to connect to.
configuration statement to extract the MySQL
file.
72

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents