Mac安裝brew
命令行輸入
/usr/bin/ruby -e "$(curl -fsSL [https://raw.githubusercontent.com/Homebrew/install/master/install](https://raw.githubusercontent.com/Homebrew/install/master/install))”
回車(這里有提示目錄不存在姥闭,要?jiǎng)?chuàng)建需要按return鍵氛赐,如果用的windows鍵盤跛锌,就是回車鍵)
打開mysql
打開終端輸入如下命令:
/usr/local/mysql/bin/mysql -u root -p
出現(xiàn)命令:Enter password:
退出mysql
quit
啟動(dòng)和停止ssdb服務(wù)
啟動(dòng):ssdb-server /usr/local/etc/ssdb.conf
守護(hù)進(jìn)程啟動(dòng)方式 ssdb-server -d /usr/local/etc/ssdb.conf
停止: ssdb-server /usr/local/etc/ssdb.conf -s stop
重啟:停止: ssdb-server /usr/local/etc/ssdb.conf -s restart
啟動(dòng)客戶端:ssdb-cli