Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  MySQL connections disappearing

Guest
Posted: Tue Feb 27, 2007 1:35 pm Reply with quote
Guest
I have ejabberd configured to use the unixODBC drivers with MySQL.
Guest
Posted: Tue Feb 27, 2007 1:41 pm Reply with quote
Guest
The reason I'm using ODBC and not the built-in MySQL drivers is because I need to be able to specify an alternate port, and I didn't see how I could do that using the built-in driver.

Quote:
From: ejabberd-bounces@jabber.ru [mailto:ejabberd-bounces@jabber.ru] On Behalf Of Safford, Brian
Sent: Tuesday, February 27, 2007 8:34 AM
To: ejabberd@jabber.ru
Subject: [ejabberd] MySQL connections disappearing



I have ejabberd configured to use the unixODBC drivers with MySQL.
Guest
Posted: Tue Feb 27, 2007 1:52 pm Reply with quote
Guest
Hi,

On Feb 27, 2007, at 1:34 PM, Safford, Brian wrote:

> I have ejabberd configured to use the unixODBC drivers with MySQL.
>
> It seems that the connection to the database disappears every day
> such that I have to restart ejabberd in order to re-establish the
> connection.

if you are using mysql5, check this: http://dev.mysql.com/doc/refman/
5.0/en/gone-away.html

Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo@simplicidade.org
Use Jabber!


_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Tue Feb 27, 2007 2:04 pm Reply with quote
Guest
That was very helpful.

I changed it to 24 hours ... will see what happens tomorrow Smile

Thanks,
Brian

-----Original Message-----
From: ejabberd-bounces@jabber.ru [mailto:ejabberd-bounces@jabber.ru] On
Behalf Of Pedro Melo
Sent: Tuesday, February 27, 2007 8:52 AM
To: ejabberd@jabber.ru
Subject: Re: [ejabberd] MySQL connections disappearing

Hi,

On Feb 27, 2007, at 1:34 PM, Safford, Brian wrote:

> I have ejabberd configured to use the unixODBC drivers with MySQL.
>
> It seems that the connection to the database disappears every day such

> that I have to restart ejabberd in order to re-establish the
> connection.

if you are using mysql5, check this: http://dev.mysql.com/doc/refman/
5.0/en/gone-away.html

Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo@simplicidade.org
Use Jabber!


_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum