I believe you also need to:

 

apk add kamailio-mysql

 

 

 

Kaufman

Sr. VoIP Engineer - BCM One

 

+1.612.735.9309

bkaufman@bcmone.com

24 hour client support: +1.855.639.6300

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Henning Westerholt
Sent: Monday, August 1, 2022 8:35 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: p.t.crossley@gmail.com
Subject: Re: [SR-Users] Newbie - Installation Issue - ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL

 

Hello,

 

indeed the package seems not to contain anything related to db_mysql or other SQL databases. Maybe somebody that knows more details can comment, it could be just not included there.

 

https://pkgs.alpinelinux.org/contents?repo=main&page=1&arch=x86_64&branch=edge&name=kamailio

 

Maybe you can just try the official Debian or Ubuntu packages from deb.kamailio.org, they should work.

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of p.t.crossley@gmail.com
Sent: Thursday, July 28, 2022 1:31 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] Newbie - Installation Issue - ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL

 

I suspect this must have been addressed before but I couldn’t find a way of searching Archives.

 

I’m using Alpine Linux.

Used “apk add kamailio”           to install  Kamailio 5.5.4-r1 

 

Following the Instructions on https://kamailio.org/docs/tutorials/5.5.x/kamailio-install-guide-git/

 

At the section for “Creating MySQL database”  I modify the file and then run

 

kamdbctl create

 

ERROR: could not load the script in /usr/lib/kamailio//kamctl/kamdbctl.mysql for database engine MYSQL

ERROR: database engine not loaded - tried 'MYSQL'

 

I checked the /usr/lib/kamailio//kamctl/     directory and the file wasn’t there

 

I suspect I’m missing a module but there aren’t any other packages  listed for Kamailio   at pkgs.alpinelinux.org

 

Thanks for your help

P Crossley