Having trouble in using Postgresql database in django 2
up vote
0
down vote
favorite
I have just installed postgresql database in my system. I successfully set postgresql as my default database in django and it worked too.
now the problem is i want to create new database to use. i know how to create it from pg4admin but not sure what password and username should i use for that database.
and what this command means (psql -U postgres) ? what is superuser ? how to create new one? what password should i use for newly created database ?
I might sound crazy and stupid but thats how much i confused. Help me guys pls...
python django database postgresql django-2.1
add a comment |
up vote
0
down vote
favorite
I have just installed postgresql database in my system. I successfully set postgresql as my default database in django and it worked too.
now the problem is i want to create new database to use. i know how to create it from pg4admin but not sure what password and username should i use for that database.
and what this command means (psql -U postgres) ? what is superuser ? how to create new one? what password should i use for newly created database ?
I might sound crazy and stupid but thats how much i confused. Help me guys pls...
python django database postgresql django-2.1
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have just installed postgresql database in my system. I successfully set postgresql as my default database in django and it worked too.
now the problem is i want to create new database to use. i know how to create it from pg4admin but not sure what password and username should i use for that database.
and what this command means (psql -U postgres) ? what is superuser ? how to create new one? what password should i use for newly created database ?
I might sound crazy and stupid but thats how much i confused. Help me guys pls...
python django database postgresql django-2.1
I have just installed postgresql database in my system. I successfully set postgresql as my default database in django and it worked too.
now the problem is i want to create new database to use. i know how to create it from pg4admin but not sure what password and username should i use for that database.
and what this command means (psql -U postgres) ? what is superuser ? how to create new one? what password should i use for newly created database ?
I might sound crazy and stupid but thats how much i confused. Help me guys pls...
python django database postgresql django-2.1
python django database postgresql django-2.1
asked 4 hours ago
Nitin Khandagale
51
51
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53266041%2fhaving-trouble-in-using-postgresql-database-in-django-2%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password