<div dir="ltr">Hi All ,<div><br></div><div>I am a first time user of opensips-cli .  this installed successfully . I have created a config file with all the details like below . </div><div><br></div><div>[default]<br>database_modules: All<br>[mysql]<br>database_admin_url: mysql://root:cccl0g1c@localhost/opensips<br>database_url:  mysql://opensips:opensipsrw@localhost<br>database_schema_path: ./opt/opensips-3.1/scripts<br></div><div><br></div><div>I am running command </div><div>opensips-cli -f /opt/opensips-cli/etc/opensips-cli.cfg -x database create opensips -d<br></div><div><br></div><div>DEBUG: using config file /opt/opensips-cli/etc/opensips-cli.cfg<br>DEBUG: Loaded module 'user'<br>DEBUG: fifo file /tmp/opensips_fifo does not exist!<br>DEBUG: Skipping module 'mi' - excluded on purpose<br>DEBUG: Loaded module 'tls'<br>DEBUG: Loaded module 'database'<br>DEBUG: Loaded module 'instance'<br>DEBUG: Loaded module 'trace'<br>DEBUG: Loaded module 'diagnose'<br>DEBUG: Loaded module 'trap'<br>DEBUG: running in non-interactive mode '['database', 'create', 'opensips']'<br>DEBUG: running command 'create' '['opensips']'<br>DEBUG: db_name: 'opensips'<br>Password for admin MySQL user (root):<br>DEBUG: read password: 'cccl0g1c'<br>DEBUG: admin DB URL: 'mysql://root:cccl0g1c@localhost'<br>DEBUG: connecting to mysql://root:cccl0g1c@localhost<br>DEBUG: check database URL 'mysql://root:cccl0g1c@localhost/opensips'<br>DEBUG: DB does not exist<br>DEBUG: Create Database 'opensips' for dialect 'mysql' ...<br>DEBUG: success<br>DEBUG: DB URL: 'mysql://opensips:opensipsrw@localhost'<br>DEBUG: connecting to mysql://opensips:opensipsrw@localhost/opensips<br>INFO: creating access user for opensips ...<br>INFO: created user 'opensips'<br>/usr/local/lib/python3.5/dist-packages/SQLAlchemy-1.3.3-py3.5-linux-x86_64.egg/sqlalchemy/engine/default.py:552: Warning: 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead<br>  cursor.execute(statement, parameters)<br>INFO: set password 'o********w' for 'opensips' (MariaDB)<br>INFO: granted access to user 'opensips' on DB 'opensips'<br>INFO: flushed privileges<br>DEBUG: connecting to mysql://opensips:opensipsrw@localhost/opensips<br>DEBUG: check database URL 'mysql://opensips:opensipsrw@localhost/opensips'<br>DEBUG: DB 'opensips' exists<br><b>ERROR: path '/usr/share/opensips' to OpenSIPS DB scripts does not exist!</b><br></div><div><br></div><div>In the config file I have specified the database_schema_path still why its searching in '/usr/share/opensips' .</div><div><br></div><div>What should I do to avoid this error . </div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div></div></div>