Documentation |
Documentation.Install-DBDeployment-1-5 HistoryShow minor edits - Show changes to markup August 05, 2013, at 03:49 PM
by
- Changed line 4 from:
to:
(:allVersions Install-DBDeployment 1.5:) May 29, 2013, at 03:00 PM
by
- Added lines 1-55:
Documentation -> Manuals -> Manual 1.5 -> Database Deployment(:title Database Deployment - ver 1.5 :) Page for other versions: devel 1.9 1.8 old versions: 1.7 1.6 1.5 1.4
After installing your OpenSIPS, most likely you will need to also deploy a database that you could use for various reasons ( DB user authentication, persistent registrations, dialogs, etc ). (:toc-float Table of Content:) Configuring DB CredentialsGo to the [Install_Path]/etc/opensips/ folder and open the opensipsctlrc file There take care of the following lines :
Creating the DatabaseIn order to create the DBNAME database that you have provisioned above, run [Install_Path]/sbin/opensipsdbctl create When prompted by the opensipsdbctl tool, please enter your DBROOTUSER password. If you want to create a different database other than the default DBNAME, you can call [Install_Path]/sbin/opensipsdbctl create my_custom_db_name The opensipsdbctl tool can also be used for things like taking backups, doing restores, and more. If you want to see the capabilities and help manual for the opensipsdbctl tool, you can run it with no parameters : [Install_Path]/sbin/opensipsdbctl |