[OpenSIPS-Devel] [opensips] Removed default DBPORT from opensipsdbctl.base (#488)

Jarrod Baumann notifications at github.com
Thu Apr 30 09:17:37 CEST 2015


After speaking with @razvancrainea, the real solution is to remove the default value for DBPORT from the opensipsdbctl.base.  DBPORT is used by mysql and pgsql and both have this consideration:

```
if ! [ -z "$DBPORT" ]; then                                                     
        PORT_OPT="-p$DBPORT"                                                    
else                                                                            
        PORT_OPT=                                                               
fi  
```

By removing the default DBPORT, the command line client that is called by the scripts will choose the appropriate default port.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/488

-- Commit Summary --

  * Removed default DBPORT from opensipsdbctl.base so it will be determined by the client

-- File Changes --

    M scripts/opensipsdbctl.base (2)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/488.patch
https://github.com/OpenSIPS/opensips/pull/488.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150430/bd3f67a9/attachment-0001.htm>


More information about the Devel mailing list