Hi

Have you installed mysql devel sources / have you run ./configure with
--with-mysql?

Regards

Alvaro

|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


On Sat, Aug 25, 2012 at 1:00 AM, Adan Canales <[email protected]> wrote:
> Hello there:
>
> I have the following error:
>
> 2012-08-24 23:55:32 [8051] [0] INFO: Starting to log to file
> /home/adan/kannel-sqlbox.log    level 0
> 2012-08-24 23:55:32 [8051] [0] INFO: Added logfile
> `/home/adan/kannel-sqlbox.log' with lev   el `0'.
> 2012-08-24 23:55:32 [8051] [0] ERROR: MYSQL: can not connect to database!
> 2012-08-24 23:55:32 [8051] [0] ERROR: MYSQL: Unknown MySQL server host
> '192.168.42.105' (0   )
> 2012-08-24 23:55:32 [8051] [0] PANIC: SQLBOX: MySQL: database pool has no
> connections!
> 2012-08-24 23:55:32 [8051] [0] PANIC:
> /usr/local/sbin/sqlbox(gw_backtrace+0xae) [0x426b3e]
> 2012-08-24 23:55:32 [8051] [0] PANIC: /usr/local/sbin/sqlbox(gw_panic+0x165)
> [0x426cb5]
> 2012-08-24 23:55:32 [8051] [0] PANIC:
> /usr/local/sbin/sqlbox(sqlbox_init_mysql+0x34c) [0x4   0b7ac]
> 2012-08-24 23:55:32 [8051] [0] PANIC: /usr/local/sbin/sqlbox(main+0x2eb)
> [0x40958b]
> 2012-08-24 23:55:32 [8051] [0] PANIC:
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x   ed) [0x7f95b8ef876d]
> 2012-08-24 23:55:32 [8051] [0] PANIC: /usr/local/sbin/sqlbox() [0x40980d]
>
> I have installed MySQL workbench and I can connect to the database, and I
> have searched internet for help with no success. Can anyone help me please?
> Thanks in advance
>
> This is my configuration:
>
> group = sqlbox
> id = sqlbox-db
> smsbox-id = sqlbox
> bearerbox-host = localhost
> bearerbox-port = 13001
> smsbox-port = 13005
> smsbox-port-ssl = false
> sql-log-table = sent_sms
> sql-insert-table = send_sms
> log-level = 0
> log-file = "/home/adan/kannel-sqlbox.log"
>
> group = mysql-connection
> id = sqlbox-db
> host = 192.168.42.105
> username = root
> password = password
> database = kannel
> ~
>

Reply via email to