[OpenSIPS-Devel] [opensips] opensipsdbctl postgresql port issue (#485)

apsaras notifications at github.com
Wed Apr 29 23:27:42 CEST 2015


There seems to be a problem with the opensipsdbctl create when you try to create postgresql database. The script tries 3306 port instead of 5432

opensipsdbctl create
PGSQL password for postgres:
INFO: creating database ewisbc ...
psql: could not connect to server: Connection refused
        Is the server running on host "mydb" (1.1.1.6) and accepting
        TCP/IP connections on port 3306?
ERROR: Creating database failed!

Adding 

DBPORT=5432

to the opensipsctlrc solves the problem.




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


More information about the Devel mailing list