up vote
down votefavorite 
<http://stackoverflow.com/questions/38125064/create-database-neo4j-with-node-js#>

i have a problem to create a db neoj, this my code in my file server.js:

var db = require("seraph")({
      server: "http://127.0.0.1:7474";,
      endpoint: "data/graph.db",
     user: "neo4j",
    pass: "neo4j"
      })
  , graph = require("neo4jquery").setConnection(db)

  , query = "CREATE (vous:Personne { nom:'Vous' })RETURN vous" ;

  graph.Query(query, false, function(err, list) {
      if (err) {
       // callback(err, void 0);
          console.log("ERROR Execution" + err);
      } else {
        // some stuff here with list 

    console.log("requete executée !");
        var user = list[0];
      }
    });

if i connect in http://127.0.0.1:7474 : " Invalid username or password."

when i run server.js it shows me : "ERROR ExecutionError: Invalid username 
or password."

although I added these two line in "neo4j-server.properties" :

org.neo4j.server.credentials=neo4:neo4j 
org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.server.extension.auth=/auth

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to