[Asterisk-Users] MYSQL cmd - preconnect?

Matthew Boehm mboehm at cytelcom.com
Mon Dec 13 08:08:21 MST 2004


Check out RealTime. This is how its done.

Otherwise..not really..each module has its own memory space and runs in its
own "thread" and so you can't share resources like that across memory space.

What are you using to query?

-Matthew

----- Original Message ----- 
From: "Roy Sigurd Karlsbakk" <roy at karlsbakk.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Monday, December 13, 2004 6:42 AM
Subject: [Asterisk-Users] MYSQL cmd - preconnect?


> hi
>
> is it possible to have asterisk connect to mysql with a
> username/password in some config file and then, afterwards, just use a
> global handle to the db? I don't see the point of connecting every time
> I need to query it ...
>
> roy
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list