Var neo4j = require( 'neo4j-driver '). V1; var driver = neo4j.
Driver( 'bolt://localhost ', neo4j. Basic( 'neo4j ', 'root ')); notice absence of v1 in the second line. You are correct saying that neo4j is the default username. So credentials neo4j/root should work for both driver and browser. I think you might've mistyped when setting the password in neo4j desktop if they don't. I've followed all steps locally on Mac OS X and can connect to the database from browser and driver.
Can you maybe drop and re-create the database in the desktop app? Hi, I was having the same problem and found the following solution:. in the neo4j.conf file uncomment the following lines: # Bolt connector dbms.connector.bolt.enabled=true dbms.connector.bolt.listenaddress=:7687 # HTTP Connector.
There must be exactly one HTTP connector. Dbms.connector.http.enabled=true dbms.connector.http.listenaddress=:7474 # HTTPS Connector. There can be zero or one HTTPS connectors. Dbms.connector.https.enabled=true dbms.connector.https.listenaddress=:7473. Start the server. In the neo4j built-in terminal type:./bin/neo4j console. Then I type the credentials as you did in the browser and everything worked fine.
While I don't fully understand why this works, it solved my problem. It would be great if someone else could provide some background to explain why is this working.
I sometimes need to create custom Neo4j Docker images to try things out and wanted to share my workflow (mostly for future Mark but also in case it’s useful to someone else). There’s already a docker-neo4j repository so we’ll just tweak the files in there to achieve what we want. $ git clone git@github.com:neo4j/docker-neo4j.git $ cd docker-neo4j If we want to build a Docker image for Neo4j Enterprise Edition, we can run the following build target: $ make clean build-enterprise Makefile:9:. This Make does not support.RECIPEPREFIX. Terminal program for mac.
Please use GNU Make 4.0 or later. Denied at the first hurdle! What version of make have we got on this machine? $ make -version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0 We can sort that out by: $ brew install make $ gmake -version GNU Make 4.2.1 Built for x8664-apple-darwin15.6.0 Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. That’s more like it!
Brew installs make with the ‘g’ prefix and since I’m not sure if anything else on my system relies on the older version of make I won’t bother changing the symlink. Let’s retry our original command: $ gmake clean build-enterprise Makefile:14:.
NEO4JVERSION is not set. It’s still not happy with us! Let’s set that environment variable to the latest released version as of writing: $ export NEO4JVERSION='3.2.2' $ gmake clean build-enterprise.