Stop the Artifactory service.
Edit the database connection details in the system.yaml configuration file as follows.
shared: database: type: postgresql driver: org.postgresql.Driver url: jdbc:postgresql://<your db url, for example: localhost:5432>/artifactory username: artifactory password: password
Start the Artifactory service.