X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/121126cb5074519680ca5fe89ec7513cf3a6dc64..5fd8f5aa2770a8193a36de20462c710bb00a0222:/docs/admin/Migration.md diff --git a/docs/admin/Migration.md b/docs/admin/Migration.md index 94f403ec..0cfe2960 100644 --- a/docs/admin/Migration.md +++ b/docs/admin/Migration.md @@ -7,7 +7,19 @@ SQL statements should be executed from the postgres commandline. Execute `psql nominatim` to enter command line mode. -## 3.2.0 -> master +## 3.2.0 -> 3.3.0 + +### New database connection string (DSN) format + +Previously database connection setting (`CONST_Database_DSN` in `settings/*.php`) had the format + + * (simple) `pgsql://@/nominatim` + * (complex) `pgsql://johndoe:secret@machine1.domain.com:1234/db1` + +The new format is + + * (simple) `pgsql:dbname=nominatim` + * (complex) `pgsql:dbname=db1;host=machine1.domain.com;port=1234;user=johndoe;password=secret` ### Natural Earth country boundaries no longer needed as fallback