i have issued the following two commands as per the instructions:
cockroach start --background ;
i used –insecure so i could access the Admin UI since this is a google-cloud instance.
i have also created the little “bank” database with one simple table, and everything worked great.
my question: do i really need two nodes running now just to see my little bank database? is it now possible to start up cockroach with just one node? if i try something like this:
i cannot access my database. i tried substituting both of the following:
cockroach sql ;
set database = bank;
i can only see my database again if i start the cockroach processes using the identical startup commands from my original startup.
i should think that the database would be wherever the store is pointing to, but when i just use either of the following:
i can no longer find my bank table, and cockroach node ls no longer works either. it appears i need to start up BOTH nodes identically to how i originally started them, or nothing works.
what must i do to “combine” the two original cockroach start command to just run one node?