Recover Couchbase password without knowing it

前端 未结 4 1009
说谎
说谎 2021-01-15 10:50

I\'m working on a mac, downloaded the community edition for mac. Launched the app, and opened the admin console. So far so good, untill I logged out. Now I

4条回答
  •  滥情空心
    2021-01-15 10:57

    On mac you can do the follwing steps

    sudo ln -s $CB_HOME/Couchbase\ Server.app/Contents/Resources/couchbase-core/lib/ /lib
    cd "$CB_HOME/Couchbase Server.app/Contents/Resources/couchbase-core/bin"
    ./erl -noinput -eval 'case file:read_file("[PATH TO DATA]/Library/Application Support/Couchbase/var/lib/couchbase/config/config.dat") of {ok, B} -> io:format("~p~n", [binary_to_term(B)]) end.' -run init stop | grep creds
    

    CB_HOME is pointing to your Couchbase installation directory

提交回复
热议问题