GithubHelp home page GithubHelp logo

数据库的表不全 about go2o HOT 8 CLOSED

ixre avatar ixre commented on July 17, 2024
数据库的表不全

from go2o.

Comments (8)

ixre avatar ixre commented on July 17, 2024

@weidongbcn 数据库需要使用postgresql 导入备份文件: go2o_pg.sql

from go2o.

weidongbcn avatar weidongbcn commented on July 17, 2024

数据库需要使用postgresql 导入备份文件: go2o_pg.sql, 这是哪个版本的postgresql?
我用pgadmin恢复,错误信息是:pg_restore: [归档] 在文件头中有不支持的版本 (1.14)

from go2o.

ixre avatar ixre commented on July 17, 2024

@weidongbcn 1.14 是pgadmin的版本, 我这用的是最新的pgadmin

from go2o.

zhuewizz avatar zhuewizz commented on July 17, 2024

我直接用:pg_restore: [archiver] unsupported version (1.14) in file header
cmd:pg_restore -h localhost -p 5432 -U postgres -W -d go2o -v Downloads/go2o-master/docs/data/go2o_pg.sql
https://blog.csdn.net/qq_31388481/article/details/98039882
应该是版本问题,为什么不提供sql文件格式

from go2o.

weidongbcn avatar weidongbcn commented on July 17, 2024

我最后没有解决,放弃了。我也不懂库主什么意思,出于什么考虑而不提供正确的sql文件。

from go2o.

zhuewizz avatar zhuewizz commented on July 17, 2024

我最后没有解决,放弃了。我也不懂库主什么意思,出于什么考虑而不提供正确的sql文件。

我的意思是直接导出SQL文件,我们用SQL文件导入就好了:如 \ir xxx.sql

from go2o.

weidongbcn avatar weidongbcn commented on July 17, 2024

在linux 的console 中用上面的命令恢复成功。

from go2o.

ixre avatar ixre commented on July 17, 2024

@zhuewizz 用命令可以导入的, 或者用pgadmin导入下

from go2o.

Related Issues (20)

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.