Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres DB params Issue #1016

Closed
Rajavelu opened this issue Apr 16, 2018 · 1 comment
Closed

Postgres DB params Issue #1016

Rajavelu opened this issue Apr 16, 2018 · 1 comment

Comments

@Rajavelu
Copy link

Rajavelu commented Apr 16, 2018

Hi,
Refer Below question. (Asked 2 years ago, But still, I met the same issue. So only raised here too).
https://help.openstreetmap.org/questions/47554/nominatim-postgres-db-argument-issue

Tried after configured in both settings.php & local.php. But still, my username not taken while connecting DB.
@define('CONST_Database_DSN', 'pgsql://nomi:nomi@/sasdb');

So, Every time(whenever upgrade nominatim versions) I need to edit postgresql.c and osm2pgsql/options.cpp  before compilation.

Also, it's working if we directly give username as follows:
passthruCheckReturn('createdb -E UTF-8 -h localhost -p 5432 nominatim -U mapsnomi')
instead of passthruCheckReturn('createdb -E UTF-8 -p '.$aDSNInfo['port'].' '.$aDSNInfo['database']);

@lonvia
Copy link
Member

lonvia commented Apr 18, 2018

Duplicate of #318. Semi-finished PR #552 waits for someone to pick it up.

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

No branches or pull requests

2 participants