# Failed to cennect to voipodbc

**URL:** <https://community.asterisk.org/t/failed-to-cennect-to-voipodbc/27666>\
**Category:** Asterisk General\
**Created:** [June 24, 2009, 9:23am UTC](https://community.asterisk.org/t/failed-to-cennect-to-voipodbc/27666 "2009-06-24T09:23:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Basit56](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@Basit56](https://community.asterisk.org/u/Basit56)\
**Post date:** [June 24, 2009, 9:23am UTC](https://community.asterisk.org/t/failed-to-cennect-to-voipodbc/27666/1 "2009-06-24T09:23:49Z")

</div>

Hi to all,  
Hope everyone is fine. I am encounter a problem, i am running asterisk 1.4.18.1, its working fine but day before today suddenly it gives warning messages like

\*CLI\> == Parsing ‘/etc/asterisk/rpt.conf’: Found  
[Jun 24 19:58:26] WARNING[7974]: res\_odbc.c:541 odbc\_obj\_connect: res\_odbc: Error SQLConnect=-1 errno=2013 [unixODBC][TCX][MyODBC]Lost connection to MySQL server during query  
[Jun 24 19:58:26] WARNING[7974]: res\_odbc.c:436 ast\_odbc\_request\_obj: Failed to connect to voipodbc  
[Jun 24 19:58:26] WARNING[7974]: app\_voicemail.c:2262 inboxcount: Failed to obtain database object for ‘voipodbc’!  
[Jun 24 19:58:26] NOTICE[7974]: res\_odbc.c:530 odbc\_obj\_connect: Connecting voipodbc

Can somebody tell me why these messages appear all in sudden and why these messages is coming and how i solve this issue because it continue to show these messages and i am unable to come to CLI prompt

Thanks for everyone

---

<div class="post-metadata">

**Author:** ![Basit56](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@Basit56](https://community.asterisk.org/u/Basit56)\
**Post date:** [July 1, 2009, 7:07am UTC](https://community.asterisk.org/t/failed-to-cennect-to-voipodbc/27666/2 "2009-07-01T07:07:15Z")

</div>

Restarting the service MySQL solve the problem 8)
