error : incorrect rpcuser or rpcpassword (authorization failed)

error : incorrect rpcuser or rpcpassword (authorization failed)

I started bitcoind -datadir=/mnt/btc but everytime I try to use bitcoin-cli it says :

error : incorrect rpcuser or rpcpassword (authorization failed)

I can't find bitcoin.conf (neither in the default datadir ~/.bitcoin neither in /mnt/btc).

Any idea how I can generate one and if it will help the original problem ?

https://ift.tt/2J0fS0A

Comments

Popular posts from this blog

New z-enemy 1.26 Nvidia GPU Miner With Improved Performance

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)