T
T
Tim32016-02-12 12:35:10
PostgreSQL
Tim3, 2016-02-12 12:35:10

Why is the username and password incorrect?

Hello!
I install kwoksys, I have postgresql and it is configured like this:

db.serverHost  = localhost
db.serverPort   = 5432
db.name          = kwokdb
db.username   = postgres
db.password    =postgres

I want to install jre and tomcat (+ connecting to the database)
/usr/kwok/./server/jre1.6.0/bin/java -jar /usr/kwok./database/schemasetup-2.6.8.jar install database=kwokdb username=postgres password=postgres

And it gives an error:
password authentication failed for user "postgres:. Cause: null
Tell me where I messed up? :_

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2016-02-12
@Tim3

Can you connect yourself?
psql -h localhost -p 5432 -U postgres -W

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question