GithubHelp home page GithubHelp logo

how to fix it ? about bitcoin-broker HOT 4 OPEN

philsong avatar philsong commented on May 22, 2024
how to fix it ?

from bitcoin-broker.

Comments (4)

philsong avatar philsong commented on May 22, 2024

you need config correct postgresql user and password account.

from bitcoin-broker.

huicpc0215 avatar huicpc0215 commented on May 22, 2024

Right now, I have use root:root to postgre sql.
When I import sql from trader_2016_06_29.sql,
it shows that psql:etc/trader_2016_06_29.sql:733: ERROR: role "phil" does not exist.
When I create user phil, It shows that:

psql:etc/trader_2016_06_29.sql:23: ERROR: must be owner of extension plpgsql
SET
SET
SET
psql:etc/trader_2016_06_29.sql:47: ERROR: relation "account" already exists
psql:etc/trader_2016_06_29.sql:50: ERROR: must be owner of relation account
psql:etc/trader_2016_06_29.sql:61: ERROR: relation "account_id_seq" already exists
psql:etc/trader_2016_06_29.sql:64: ERROR: must be owner of relation account_id_seq
psql:etc/trader_2016_06_29.sql:70: ERROR: must be owner of relation account_id_seq
psql:etc/trader_2016_06_29.sql:84: ERROR: relation "amount_config" already exists
psql:etc/trader_2016_06_29.sql:87: ERROR: must be owner of relation amount_config
psql:etc/trader_2016_06_29.sql:98: ERROR: relation "amount_config_id_seq" already exists
psql:etc/trader_2016_06_29.sql:101: ERROR: must be owner of relation amount_config_id_seq
psql:etc/trader_2016_06_29.sql:107: ERROR: must be owner of relation amount_config_id_seq
psql:etc/trader_2016_06_29.sql:121: ERROR: relation "depth" already exists
psql:etc/trader_2016_06_29.sql:124: ERROR: must be owner of relation depth

How can I fix it?

from bitcoin-broker.

huicpc0215 avatar huicpc0215 commented on May 22, 2024

I found that it's not easy to setup property to import postgresql file.

from bitcoin-broker.

philsong avatar philsong commented on May 22, 2024

replace the username to your real db username in sql file.

from bitcoin-broker.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.