NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

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.

EDIT:

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

Rajavelu_M
253454858
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

Follow this question

By Email:

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

By RSS:

Answers

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:

×689
×263
×165
×22
×20

question asked: 18 Jan '16, 07:42

question was seen: 2,885 times

last updated: 16 Apr '18, 08:47

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum