[OpenSIPS-Users] Cli and DB path

Răzvan Crainea razvan at opensips.org
Tue May 17 07:48:07 UTC 2022

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

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

More information about the Users mailing list