schemats icon indicating copy to clipboard operation
schemats copied to clipboard

How to provide User Name and Password in the command

Open dhirajsonavane opened this issue 3 years ago • 1 comments

Hi,

Could you please update documentation about how to pass user name, password, port in command?

Thanks Dhiraj

dhirajsonavane avatar Mar 02 '21 02:03 dhirajsonavane

just as part of the database url:

schemats generate -c postgres://username:password@localhost/osm -t users -o osm.ts

if you have special chars in your password, you can use the browsers "encodeURIComponent" function to encode the password for the URL.

TobiasNickel avatar Apr 13 '21 02:04 TobiasNickel