This tap provides Homebrew formulas for the greptime and gtctl utilities.
brew tap greptimeteam/greptime
Then, you can install greptime
or gtctl
:
brew install greptime
brew install gtctl
To upgrade existing installations to the latest version:
brew upgrade greptime
brew upgrade gtctl
Run GreptimeDB in standalone mode with:
greptime standalone start \
--http-addr 0.0.0.0:4000 \
--rpc-bind-addr 0.0.0.0:4001 \
--mysql-addr 0.0.0.0:4002 \
--postgres-addr 0.0.0.0:4003
You can use the MySQL client to connect the GreptimeDB:
mysql -h 127.0.0.1 -P 4002
For writing data, refer to the documentation.