Opened 7 years ago

Closed 7 years ago

#4736 closed enhancement (fixed)

Make it possible to run setup.php with a different PSQL port

Reported by: b3nn0 Owned by: geocoding@…
Priority: minor Milestone:
Component: nominatim Version: 2.0
Keywords: Cc:



I've written a small patch that makes in possible to change the port that setup.php will use to access the PSQL database. setup.php called several command-line applications that offered a -p or -P switch to specify the port. setup.php does not use that flag.

With this patch, setup.php will correctly respect the port configured via the CONST_Database_DSN specified in settings/local.php.

This patch does, however, not cover update.php as I don't need it. It should be trivial to fix that aswell, but I diddn't do it because I can't test it here.

Use patch setup.php < patch.txt to patch the file.

regards, Adrian

Attachments (1)

nominatim_port_fix.patch (649 bytes) - added by b3nn0 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by b3nn0

Attachment: nominatim_port_fix.patch added

comment:1 Changed 7 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.