Re: [OpenSIPS-Users] Cli and DB path
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 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@lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Cli and DB path
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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Cli and DB path
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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users