Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: b3nn0
[Submitted to the original trac issue database at 10.40am, Sunday, 6th January 2013]

Hello,

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

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 10.00pm, Monday, 14th January 2013]

Merged in osm-search/Nominatim@20a852b

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant