Closed zhongdongy closed 4 years ago
hey @zhongdongy ! Those scripts come with the opensips
package, and opensips-cli
should auto-detect their presence and not ask that question on a normal run. Do you actually need to install the database from a system that does not run opensips at all? If yes, we may need to do a few changes in there...
Thank you for your information. I've installed opensips
via apt
already before compiling opensips-cli
from source code. But just now I searched my VPS, there no such scripts under opensips
directories. So I guess there might be something wrong with the auto detection mechanism in my case. And I think for now, I will try use scripts from opensips
repository first.
hey @zhongdongy ! Those scripts come with the
opensips
package, andopensips-cli
should auto-detect their presence and not ask that question on a normal run. Do you actually need to install the database from a system that does not run opensips at all? If yes, we may need to do a few changes in there...
Sorry, @zhongdongy, my bad! It seems that the MySQL scripts are installed by the opensips-mysql-module
package. Similarly, opensips-postgres-module
if you run PostgreSQL, etc.
In your case, you should find them under /usr/share/opensips/mysql
, and they should be auto-detected once the package is there :)
Great! Thank you very much @liviuchircu ! Maybe we can add these instructions to the documents. 😄
Hi, thanks for your great work! I've noticed in my instance (Debian 9) with MySql, I am unable to create database properly. Here is my configuration file content:
I always run into this prompt during
opensips-cli -x database create
:Currently, I think it might because the program was trying to find the SQL scripts to execute. But I found them nowhere.