Why not ask your question on the new OpenStreetMap Community Forum?


I am using nominatim-2.3.1.

I set DB username & password @define('CONST_Database_DSN', 'pgsql://nomi:nomi@localhost:5432/nominatim'); in settings.php, But received in osm2pgsql.c & postgresql.c as empty.

So I cant connect DB to create DB & insert data.


The same Issue comes in Nominatim-2.5.1 too. So now i need to give username in osm2pgsql.c & postgresql.c

asked 18 Jan '16, 07:42

Rajavelu_M's gravatar image

accept rate: 33%

edited 16 Apr '18, 08:47

Tried in Nominatim-3.1.0 too. Still, I can't get DB username. Also tried as given in local.php as follows, but not working. @define('CONST_Database_DSN', 'pgsql://nomi:nomi@:localhost:5432/nominatim');

Every time(for upgrade nomination versions) I need to change my username in the source before compilation.

(16 Apr '18, 08:31) Rajavelu_M
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 18 Jan '16, 07:42

question was seen: 2,621 times

last updated: 16 Apr '18, 08:47

powered by OSQA