简体   繁体   中英

How to get username password for GrapheneDB addon on Heroku

I want to connect to the graphenedb url from my node.js application, it is mentioned in documentation , to configure

$ heroku config:get GRAPHENEDB_URL

http://:@resourceId.station-name.stations.graphenedb.com:24789/db/data

but where can i get the username and password to include in the url ? i have tried connecting directly using neo4j-driver with bolt:// url, with default username: neo4j password: neo4j , it returned

Neo4jError: The client is unauthorized due to authentication failure.

GrapheneDB has its own authentication system. Follow the documentation to create a GrapheneDB username and password .

In cmd prompt type

For Url

heroku config:get GRAPHENEDB_BOLT_URL -a appname

For username

heroku config:get GRAPHENEDB_BOLT_USER -a appname

For password

heroku config:get GRAPHENEDB_BOLT_PASSWORD -a appname

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM