“Database fatal PSQL tidak ada” Kode Jawaban

Database fatal PSQL tidak ada

# So you do not have to create a database with your role name

psql -U Username DatabaseName 
Gifted Gorilla

Fatal Database Postgres tidak ada

psql -d template1
Hash'J Programming

Database PSQL tidak ada

It appears that your package manager failed to create the database named $user for you. The reason that

psql -d template1
works for you is that template1 is a database created by postgres itself, and is present on all installations. You are apparently able to log in to template1, so you must have some rights assigned to you by the database. Try this at a shell prompt:

createdb
and then see if you can log in again with

psql -h localhost
CtrlKey

Jawaban yang mirip dengan “Database fatal PSQL tidak ada”

Pertanyaan yang mirip dengan “Database fatal PSQL tidak ada”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya