Here is my patch for sqlbox to take host into account:
Index: gw/sqlbox.c
===
RCS file: /home/cvs/sqlbox/gw/sqlbox.c,v
retrieving revision 1.2
diff -u -r1.2 sqlbox.c
--- gw/sqlbox.c 30 May 2006 17:52:46 - 1.2
+++ gw/sqlbox.c
Alejandro,
is this needed for sqlbox to be able to connect to a remote mysql?
thanks!
Juan
On Nov 14, 2007 1:41 PM, Alejandro Guerrieri
[EMAIL PROTECTED] wrote:
Here is my patch for sqlbox to take host into account:
Index: gw/sqlbox.c
==
No, this is to be able to connect to a remote bearerbox.
Maybe there's a similar issue with mysql host? I'll check it out.
Regards,
Alejandro
On Nov 14, 2007 1:53 PM, Juan Nin [EMAIL PROTECTED] wrote:
Alejandro,
is this needed for sqlbox to be able to connect to a remote mysql?
thanks!
don't think so
on my previous post i pasted some changes i made where it logs the
panic error, and the host, username, passwd and db are fine
not sure where the problem is :(
On Nov 14, 2007 2:30 PM, Alejandro Guerrieri
[EMAIL PROTECTED] wrote:
No, this is to be able to connect to a remote
Hmm, pretty strange.
The only thing I can think of is about auth libraries. There's a difference
between 3.x and 4.x mysql authentication protocol, and if for some reason
the wrong protocol is used the login fails though the mysql client library
works fine.
I'd check on the remote side to see if
i'm using MySql 5, but the thing is that sqlbox is not trying to
connect to the remote server
I've already enabled the mysql logging, and I see nothing, and even
more, I made a tcpdump on the remote DB server, and no packets
arrive..
On 11/14/07, Alejandro Guerrieri [EMAIL PROTECTED] wrote:
: Re[2]: sqlbox does not connect to remote MySQL
i'm using MySql 5, but the thing is that sqlbox is not trying to connect to
the remote server
I've already enabled the mysql logging, and I see nothing, and even more, I
made a tcpdump on the remote DB server, and no packets arrive..
On 11/14/07
(or the proper one of course)
Regards,
Cezary
-Original Message-
From: Juan Nin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 14, 2007 5:45 PM
To: users@kannel.org
Subject: Re: Re[2]: sqlbox does not connect to remote MySQL
i'm using MySql 5, but the thing is that sqlbox
Nice hacking :)
-- Rene
-Original Message-
From: Cezary Siwek [mailto:[EMAIL PROTECTED]
Sent: woensdag 14 november 2007 18:58
To: users@kannel.org
Subject: RE: Re[2]: sqlbox does not connect to remote MySQL
hi,
I had the same problem.
you need to define port if you want to use