# My SQL

**URL:** <https://community.asterisk.org/t/my-sql/34331>\
**Category:** Asterisk General\
**Created:** [March 1, 2011, 4:13am UTC](https://community.asterisk.org/t/my-sql/34331 "2011-03-01T04:13:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![typeleven](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@typeleven](https://community.asterisk.org/u/typeleven)\
**Post date:** [March 1, 2011, 4:13am UTC](https://community.asterisk.org/t/my-sql/34331/1 "2011-03-01T04:13:08Z")

</div>

I have asterisk 1.4 running on cent os and I want to get all my call logging to go to a myqsl database. Can this be done and where do I start?

---

<div class="post-metadata">

**Author:** ![navaismo](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/navaismo/32/2481_2.png) [@navaismo](https://community.asterisk.org/u/navaismo)\
**Post date:** [March 1, 2011, 4:20pm UTC](https://community.asterisk.org/t/my-sql/34331/2 "2011-03-01T16:20:15Z")

</div>

Check this [voip-info.org/wiki/view/Asterisk+cdr+mysql](http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql)

---

<div class="post-metadata">

**Author:** ![zaib\_kiani](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/zaib_kiani/32/9558_2.png) [@zaib\_kiani](https://community.asterisk.org/u/zaib_kiani)\
**Post date:** [March 3, 2011, 7:16am UTC](https://community.asterisk.org/t/my-sql/34331/3 "2011-03-03T07:16:57Z")

</div>

hello,  
use asterisk realtime, you need to log your cdr in mysql db so consult cdr\_mysql.conf and make the appropiate connection with your db.
