MySQL and Asterisk


#1

I’m running asterisk 1.2 on Ubuntu, and I’m trying to use MySQL for various things in the dial plan, but when I install the asterisk addons, it fails to start asterisk. Im thinking that I’m doing something wrong with installing MySQL (apt-get install mysql-server). I thought I needed mysql-dev, but i read that i could replace this with libmysqlclient14-dev. I tried installing that and it still wont run. Anyone have any ideas/suggestions for getting mysql and asterisk to work?


#2

it fails to start asterisk,

Give more details about the error you are getting


#3

in case anyone else has this problem ever, when you install mysql-server, you need to install libmysqlclient14-dev before trying to make asterisk addons. If you do it before installing this mysql package it wont make right