[asterisk-users] MySQL() timeout

Doug Lytle support at drdos.info
Wed Oct 31 09:43:27 CDT 2007


Tilghman Lesher wrote:
> The key would be adding this line at the appropriate point:
> mysql_options(&mysql, MYSQL_OPT_CONNECT_TIMEOUT, &timeout)
> where timeout is an integer.  Remember that it needs to be set
> BEFORE the connection.
>
>   

Anybody like to give more detailed instructions for those of use not 
instructed in C?

Thanks!

Doug


-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."





More information about the asterisk-users mailing list