I installed cockroachdb and started the shell , first day it opened without any problem but when i restart my computer and tried to run the shell using command
cockroach sql --insecure it is appearing like this
Welcome to the CockroachDB SQL shell. # All statements must be terminated by a semicolon. # To exit, type: \q. # ERROR: cannot dial server. Is the server running? If the server is running, check --host client-side and --advertise server-side. dial tcp 127.0.0.1:26257: connect: connection refused Failed running "sql"
I tried to kill the process on that port and restart the server, but no hope
but when I deleted the node and create one again it is working fine .
Why should I have to do it every time .I wonder is there any solution for this ??