"FATAL: Tenant or user not found [SOLUTION] #30107
LucasKlemke
started this conversation in
General
Replies: 1 comment 1 reply
-
Where to get username? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to create a new user to connect on supabase using sql queries, but I was getting the following error when trying to connect "FATAL: Tenant or user not found .
CREATE USER joao WITH PASSWORD 'cachorroquente';
GRANT CONNECT ON DATABASE postgres TO joao;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO joao;
❌ postgresql://
joao
:[password]@aws-0-sa-east-1.pooler.supabase.com:6543/postgres🚨 "FATAL: Tenant or user not found
I realized that, in order to be able to connect with the created user, instead of inserting the user on the username field, I had to also insert the characters from the default user postgres, after the dot:
postgresql://
postgres.ooystigvanwktbjqnxhr
:[password]@aws-0-sa-east-1.pooler.supabase.com:6543/postgres✅ postgresql://
joao.ooystigvanwktbjqnxhr
:[password]@aws-0-sa-east-1.pooler.supabase.com:6543/postgresBeta Was this translation helpful? Give feedback.
All reactions