[OpenSIPS-Users] Cli and DB path

Ali Alawi goatolina at gmail.com
Wed May 18 21:05:29 UTC 2022


Dear Răzvan,

Thanks for your response, the cli are all set successfully using
database_schema_path.

Regards,
Ali

On Tue, May 17, 2022 at 10:52 AM Răzvan Crainea <razvan at opensips.org> wrote:

> Hi, Ali!
>
> Setting the database_schema_path should do the trick. Can you set it
> again and provide the logs?
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 5/14/22 02:30, Ali Alawi wrote:
> > Dear all,
> >
> > When I install opensips3.2 using APT packages, the cli point correctly
> > to mysql (mariadb) through /usr/share/opensips (Everything work fine)
> >
> > However, when  installation done using git clone --recursive, the cli
> > point to /usr/share/opensips  but in this time the cli doesn't find
> > mysql when i try to:
> > opensips-cli -x database create
> > ERROR: path '/usr/share/opensips' to OpenSIPS DB scripts does not exist!
> >
> > I notice that mysql is resides inside '/usr/local/share/opensips'
> > instead of '/usr/share/opensips'
> > I try to include the corrected path in the default.cfg and also try
> > |opensips-cli -o database_schema_path=|
> > |But I come up with no success|
> > |Any suggestions please? |
> >
> > Regards,
> > Ali
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220519/27d1d219/attachment.html>


More information about the Users mailing list