LoginSignup
6
4

More than 3 years have passed since last update.

Neo4jをMacで使う時の基礎

Posted at

Installation

インストールはhomebrewで

$ brew install neo4j

利用ポート

Port 説明
7687 Neo4j本体
7474 管理コンソール(Neo4j Browser)のホスティング用

初期パスワード

ID Password
neo4j neo4j

Neo4jの起動と停止と状態確認

起動

$ neo4j start

停止

$ neo4j stop

状態確認

$ neo4j status

管理コンソールを開く

$ open http://localhost:7474

インストール後初めて起動するとパスワードの変更を要求される

接続情報

プログラムから接続する場合の接続先。
http/https か、 boltと呼ばれるプロトコルで接続できる

# http base
http://localhost:7474/db/data

# bolt base
bolt://localhost:7687

各種ディレクトリのPath

# Baseディレクトリ
/usr/local/Cellar/neo4j/3.5.8/libexec/import/

# configファイル
/usr/local/Cellar/neo4j/3.5.8/libexec/conf/neo4j.conf

# plugin
/usr/local/Cellar/neo4j/3.5.8/libexec/plugins/

# Data
/usr/local/var/neo4j/data/databases

# Log
/usr/local/var/log/neo4j/neo4j.log
6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4