FG
💻 Software

How can I create a database in PostgreSQL on Windows 7?

Fresh7 days ago
Mar 15, 202628558 views
Confidence Score0%
0%

Problem

I use Windows 7 on my own home computer. I have installed PostgreSQL and now I would like to create an database. I tried with but I got this error message: I have also tried to create a role "Jonas" with but I got the same error, even if I was logged in as Administrator in PowerShell. How can I cre…

Error Output

createdb: could not connect to database postgres: FATAL: role "Jonas" does
not exist

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I create a database in PostgreSQL on Windows 7?

Low Risk

http://www.postgresql.org/docs/8.1/static/tutorial-createdb.html Another response could be this: where your own login name is mentioned. This will happen if the administrator has not created a PostgreSQL user account for you. (PostgreSQL user accoun…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment