Bug#590692: kannel-sqlbox: Despite the sqlbox.conf has been configured to use PostgreSQL, it tries to connecto to MySQL

2012-11-07 Thread Antonio
Hi This also happens if you try with sqlite3. I configured it wiht mysql and everything fine. / WITH SQLITE3 **/ / CONF group = sqlbox id = sqlbox-db smsbox-id = sqlbox bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13005 smsbox-port-ssl = false sql-log-table =

Bug#590692: kannel-sqlbox: Despite the sqlbox.conf has been configured to use PostgreSQL, it tries to connecto to MySQL

2012-11-07 Thread Antonio
Found the problem. Its in the library that initializes the sql connection. Right now it only allows connection to mysql, since is the first that the program will attempt to connect. The code in sqlbox_sql.c it should have a switch type, so the user can set witch to use. I attach a possible

Bug#590692: kannel-sqlbox: Despite the sqlbox.conf has been configured to use PostgreSQL, it tries to connecto to MySQL

2010-07-28 Thread Arnau
Package: kannel-sqlbox Version: 0.7.2-3 Severity: important -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Bug#590692: kannel-sqlbox: Despite the sqlbox.conf has been configured to use PostgreSQL, it tries to connecto to MySQL

2010-07-28 Thread Jonas Smedegaard
On Wed, Jul 28, 2010 at 03:33:35PM +0200, Arnau wrote: Severity: important Please describe - in more words than subject line - what issue you are experiencing, and why you consider it such high severity. When relevant, please include logs with debug enabled. Please note that severity is

Bug#590692: kannel-sqlbox: Despite the sqlbox.conf has been configured to use PostgreSQL, it tries to connecto to MySQL

2010-07-28 Thread Arnau Rebassa
On Wed, Jul 28, 2010 at 4:02 PM, Jonas Smedegaard jo...@jones.dk wrote: On Wed, Jul 28, 2010 at 03:33:35PM +0200, Arnau wrote: Severity: important Please describe - in more words than subject line - what issue you are experiencing, and why you consider it such high severity. In theory

Bug#590692: kannel-sqlbox: Despite the sqlbox.conf has been configured to use PostgreSQL, it tries to connecto to MySQL

2010-07-28 Thread Jonas Smedegaard
On Wed, Jul 28, 2010 at 05:57:35PM +0200, Arnau Rebassa wrote: On Wed, Jul 28, 2010 at 4:02 PM, Jonas Smedegaard jo...@jones.dk wrote: On Wed, Jul 28, 2010 at 03:33:35PM +0200, Arnau wrote: Severity: important Please describe - in more words than subject line - what issue you are

Bug#590692: kannel-sqlbox: Despite the sqlbox.conf has been configured to use PostgreSQL, it tries to connecto to MySQL

2010-07-28 Thread Arnau Rebassa
Hi Jonas, Thanks for the detailed report. I suspect possibly it is a simple matter of misconfiguration: You've given both sectins same id, which I suspect causes the second section to be ignored (and perhaps then the internal default SQL type is MySQL?). Try give the sections different IDs