Hi All,
Here I am going to show how to fix -
cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042': ConnectionRefusedError(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
Cassanda Conection error Fixed!Unable to connect to any servers! cqlsh failed ! 127.0.0.1:9042
Commands-
Need to change file-
vi /usr/bin/cqlsh.py
DEFAULT_CONNECT_TIMEOUT_SECONDS = 3600
DEFAULT_REQUEST_TIMEOUT_SECONDS = 3600
sudo serive cassandra restart
sudo serive cassandra status
If not worked You can also change-
~./cassandra/cqlshrc
[connection]
client_timeout = 3600
request_timeout = 3600
#CassandaConectionerrorFixed
#cqlsh
#cassandra
Негізгі бет Cassanda Conection error Fixed!Unable to connect to any servers! cqlsh failed ! 127.0.0.1:9042
Пікірлер: 2