-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to fix it ? #1
Comments
you need config correct postgresql user and password account. |
Right now, I have use root:root to postgre sql. psql:etc/trader_2016_06_29.sql:23: ERROR: must be owner of extension plpgsql How can I fix it? |
I found that it's not easy to setup property to import postgresql file. |
replace the username to your real db username in sql file. |
INFO[20161218 04:11:25] [ main.go ] 37 [ ---------------------------------------------------------->>>
INFO[20161218 04:11:25] [ main.go ] 38 trading broker Engine V1.1 postgres
INFO[20161218 04:11:25] [ main.go ] 39 <<<----------------------------------------------------------]
INFO[20161218 04:11:25] [ trade_center.go ] 49 unit_min_amount,unit_max_amount: 0.01 5
ERRO[20161218 04:11:25] [ db.go ] 49 open: pq: password authentication failed for user "root"
ERRO[20161218 04:11:25] [ trade_order.go ] 88 pq: password authentication failed for user "root"
INFO[20161218 04:11:25] [ amount_limit.go ] 40 init limit: 200 200 0 0
INFO[20161218 04:11:25] [ amount_limit.go ] 123 buy_total_amount: 0
INFO[20161218 04:11:25] [ amount_limit.go ] 132 sell_total_amount: 0
ERRO[20161218 04:11:25] [ db.go ] 49 open: pq: password authentication failed for user "root"
ERRO[20161218 04:11:25] [ exchange_config.go ] 55 pq: password authentication failed for user "root"
INFO[20161218 04:11:25] [ trade_server.go ] 48 Thrift server listening on 127.0.0.1:18030
ERRO[20161218 04:11:26] [ db.go ] 49 open: pq: password authentication failed for user "root"
ERRO[20161218 04:11:26] [ tx.go ] 11 pq: password authentication failed for user "root"
ERRO[20161218 04:11:26] [ tx.go ] 36 TxBegin failed pq: password authentication failed for user "root"
ERRO[20161218 04:11:27] [ db.go ] 49 open: pq: password authentication failed for user "root"
endless.. error.
And how can I use postgres sql?
The text was updated successfully, but these errors were encountered: