X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2c24b9da5a94dd1ef3b51381d108281c56842b01..c611d49941e8a097116dfb6f6d08e5491a85dcee:/VAGRANT.md?ds=sidebyside diff --git a/VAGRANT.md b/VAGRANT.md index d4e88304..0cab24fa 100644 --- a/VAGRANT.md +++ b/VAGRANT.md @@ -171,7 +171,7 @@ If the Postgres installation is behind a firewall, you can try inside the virtual machine. It will map the port to `localhost:9999` and then you edit `settings/local.php` with - @define('CONST_Database_DSN', 'pgsql://postgres@localhost:9999/nominatim_it'); + @define('CONST_Database_DSN', 'pgsql:host=localhost;port=9999;user=postgres;dbname=nominatim_it'); To access postgres directly remember to specify the hostname, e.g. `psql --host localhost --port 9999 nominatim_it`