A graph DB vs a Prolog (or miniKanren)

No, logic programming as embodied by those things and neo4j are quite different. On one level, you’re right that they conceptually both amount to graph storage and graph query. But for logic programming, it’s only conceptually graph query, there’s no guarantee that it’s actually stored that way (where with neo4j, it is). Second, with logic … Read more

Graph Databases – betting the company on it?

Disclaimer: I work for/with Neo4j Just talking about the maturity here (not technicalities) – Neo Technology as a company with more than 50 employees, $25M funding and a thriving user-base with half a million downloads, 30k new databases running each month and an active community won’t go away. You can also check the SO questions … Read more

Forgot Neo4j Server Password

Depending on environment and installation type you need to look for a file named auth under directory dbms and remove it. In MacOs, for dmg installations (adjust for custom locations): /Users/xyz/Documents/Neo4j/default.graphdb/dbms/auth or (homebrew install) /usr/local/Cellar/neo4j/x.x.x/libexec/data/dbms/auth Windows users should look for same file in the default.graphdb/dbms directory. In Ubuntu /var/lib/neo4j/data/dbms/auth In docker containers /var/lib/neo4j/data/dbms/auth Alternatively, you … Read more

Gremlin remove all Vertex

In more recent terms as of Gremlin 2.3.0, removal of all vertices would be best accomplished with: g.V.remove() UPDATE: For version Gremlin 3.x you would use drop(): gremlin> graph = TinkerFactory.createModern() ==>tinkergraph[vertices:6 edges:6] gremlin> g = graph.traversal() ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] gremlin> g.V().drop().iterate() gremlin> graph ==>tinkergraph[vertices:0 edges:0] Note that drop() does not automatically iterate the Traversal … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)