Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the default username/password for a PostgreSQL server in Rails 4?

Tags:

postgresql

I've looked all over the internet and nobody seems to have this answer.

I've never created a user, am I supposed to?

"root" and "password" throws up "password authentication failed" and leaving the fields blank throws up "no password supplied"

like image 209
JackHasaKeyboard Avatar asked Sep 22 '15 18:09

JackHasaKeyboard


People also ask

What is default postgres user password?

For most systems, the default Postgres user is postgres and a password is not required for authentication. Thus, to add a password, we must first login and connect as the postgres user.

What is the default password for pgadmin4?

By Default, the user is 'postgres' and the password is the one which you enter while installing the database. (Version 11,12 I have tested). and enter the password used while installing. Or create a user with login permissions using PgAdmin tool.

What is psql username?

If you are logged into the same computer that Postgres is running on you can use the following psql login command, specifying the database ( mydb ) and username ( myuser ): psql -d mydb -U myuser.


1 Answers

Did you try with postgres as username and password ?

like image 166
Cyprien Aubry Avatar answered Sep 28 '22 09:09

Cyprien Aubry