hi dear all, i'm trying to use latest trunk with mysql i have down compiling kamailio now i don't know ghow do i enable mysql for kamailio (not for kamdbctl) the db is created successfully but kamailio is unable to connect to the db default user/pass, i don't change anything how do i use this define stufs? thanks
Hello,
On 4/17/10 11:20 PM, Meftah Tayeb wrote:
hi dear all, i'm trying to use latest trunk with mysql i have down compiling kamailio now i don't know ghow do i enable mysql for kamailio (not for kamdbctl) the db is created successfully but kamailio is unable to connect to the db default user/pass, i don't change anything how do i use this define stufs?
for kamailio:
- to add db_mysql to compilation/installation list:
make include_modules=db_mysql flavour=kamailio cfg make all make install
- to create the database
kamcdbctl create
- to enable mysql in configuration file enable the #!define WITH_MYSQL
Cheers, Daniel
thanks
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
hi daniel, thank you for the reply but how do i enable the #!define? please givee me the commanted line and the uncommented line thanks Le 17/04/2010 10:26, Daniel-Constantin Mierla a écrit :
Hello,
On 4/17/10 11:20 PM, Meftah Tayeb wrote:
hi dear all, i'm trying to use latest trunk with mysql i have down compiling kamailio now i don't know ghow do i enable mysql for kamailio (not for kamdbctl) the db is created successfully but kamailio is unable to connect to the db default user/pass, i don't change anything how do i use this define stufs?
for kamailio:
- to add db_mysql to compilation/installation list:
make include_modules=db_mysql flavour=kamailio cfg make all make install
- to create the database
kamcdbctl create
- to enable mysql in configuration file enable the #!define WITH_MYSQL
Cheers, Daniel
thanks
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
#!define BLAH
means that BLAH is "enabled," in the sense that #!ifdef BLAH check will succeed.
hi daniel, thank you for the reply but how do i enable the #!define? please givee me the commanted line and the uncommented line thanks Le 17/04/2010 10:26, Daniel-Constantin Mierla a écrit :
Hello,
On 4/17/10 11:20 PM, Meftah Tayeb wrote:
hi dear all, i'm trying to use latest trunk with mysql i have down compiling kamailio now i don't know ghow do i enable mysql for kamailio (not for kamdbctl) the db is created successfully but kamailio is unable to connect to the db default user/pass, i don't change anything how do i use this define stufs?
for kamailio:
- to add db_mysql to compilation/installation list:
make include_modules=db_mysql flavour=kamailio cfg make all make install
- to create the database
kamcdbctl create
- to enable mysql in configuration file enable the #!define WITH_MYSQL
Cheers, Daniel
thanks
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users