Re: [SR-Users] DB create statements

2012-07-11 Thread Klaus Darilion
For the files: I solved my problem by changing the /usr/lib/kamailio/kamctl/kamdbctl.pgsql script to write all queries to stdout instead sending it to the DB, e.g: # execute sql command with optional db name sql_query() { if [ $TRYONLY -eq 1 ] ; then if [ $# -gt 1 ] ; th

Re: [SR-Users] DB create statements

2012-07-11 Thread Aft nix
On Wed, Jul 11, 2012 at 3:24 PM, Klaus Darilion wrote: > Hi! > > For some reason I need to the enter the SQL statements manually on the DB > server (I do not want to copy the scripts to the DB server and there is no > superuser access over the network) > > Is there a simple method to get all the S

[SR-Users] DB create statements

2012-07-11 Thread Klaus Darilion
Hi! For some reason I need to the enter the SQL statements manually on the DB server (I do not want to copy the scripts to the DB server and there is no superuser access over the network) Is there a simple method to get all the SQL commands to create the kamailio database? I see there are