You need to have the mysql-devel package installed on your system.

== Rene

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Vijay kumar Dadhich
Sent: Wednesday, 06 July, 2011 04:33
To: [email protected]
Cc: rajat goyal
Subject: regarding mysql configuration;

Hello,
I am sending messages successfully with dlr_storage = internal now i
want to connect the mysql with it so i
CREATE DATABASE sms_dlr;
USE sms_dlr;
CREATE TABLES dlr_kannel (smsc VARCHAR(30), ts VARCHAR (30),
destination (30), source VARCHAR(30), service(VARCHAR), url(30),
mask(VARCHAR), status(VARCHAR), boxcVARCHAR(30))
my kannel.conf file looklike as
group = core
admin-port = 13000
admin-password = hoo
status-password = hoo
smsbox-port = 13003
store-type = file
store-file = /knl_store
sms-incoming-queue-limit = -1
log-level = 4
access-log = /var/log/bearerbox1.access
dlr-storage = internal
log-file = /var/log/bearerbox1.log

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-url = "/"
log-level = 4
access-log = /var/log/smsbox1.access
# log-file = /var/log/smsbox1.log

include = "normal.conf"


group = sendsms-user
username = hookcity
password = hooindia
concatenation = true
max-messages = 7


group = mysql-connection
id = mydlr
host = localhost
username = root
password = hcl@121
database = sms_dlr
max-connections = 10

group = dlr-db
id = mydlr
table = dlr_kannel
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

cd /usr/local/gateway/trunk
./configure
at there database engine is disabled
cd /usr/local/gateway/sqlbox/trunk
./configure
make shows error at least one dbengine is needed.
so plese guide me how i connected the mysql with kannel.
thanks in advance.

Vijay Kr. Dadhich




Reply via email to