After installing and starting YugabyteDB on my MacBook, when I am trying to connect to server, I am getting below error
$./bin/ysqlsh
ysqlsh: FATAL: role “yugabyte” does not exist
After installing and starting YugabyteDB on my MacBook, when I am trying to connect to server, I am getting below error
$./bin/ysqlsh
ysqlsh: FATAL: role “yugabyte” does not exist
How did you install the db?
Also, can you try closing the db and trying ./bin/ysqlsh
again?
Reason I’m asking is because I’ve seen cases where users have multiple local PostgreSQL clusters.
The first one takes 5432, but the 2nd one takes 5433, clashing with yugabytedb.
Thus ./bin/ysqlsh may be trying to connect to PostgreSQL instead of yugabytedb.