The config command lets you manage server configuration, including the reconfiguration of the database connection.
Use the config command of the nlserver executable file with the -setdblogin parameter.
nlserver config -setdblogin:<[dbms:]account[:database][/password]@server>
nlserver config -setdblogin:PostgreSQL::test6@dbserver
To change the internal password use: nlserver config -internalpassword