• 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

,pgadmin如何连接到Tinyerp

已定时 已固定 已锁定 已移动 Odoo 新手求助
6 帖子 2 发布者 6758 浏览
    • 从旧到新
    • 从新到旧
    • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • ? 离线
    ? 离线
    游客
    写于 最后由 编辑
    #1

    试了好几次都不成功,比较郁闷,:'( 请高手指点!
    [attach]31[/attach]

    tinyerp-server.conf 的内容如下:
    [options]
    without_demo = False
    root_path = D:Tiny_ERP4.2Tiny ERP Server
    verbose = False
    demo = {}
    port = 8069
    reportgz = False
    netinterface =
    upgrade = False
    secure = False
    admin_passwd = admin
    assert_exit_level = 30
    smtp_server = localhost
    db_user = tinypg
    price_accuracy = 2
    soap = False
    pidfile = None
    db_maxconn = 64
    smtp_password = False
    xmlrpc = True
    db_port = 5438
    db_name = demo
    netrpc = True
    interface =
    logfile = D:Tiny_ERP4.2Tiny ERP Servertinyerp-server.log
    pg_path = D:Tiny_ERP4.2PostgreSQL4TinyERPbin
    translate_modules = ['all']
    stop_after_init = True
    netport = 8070
    smtp_user = False
    db_password = tinypgpwd
    debug_mode = False
    db_host = False
    addons_path = D:Tiny_ERP4.2Tiny ERP Serveraddons

    如何能够不郁闷??

    1 条回复 最后回复
    0
  • digitalsatoriD 离线
    digitalsatoriD 离线
    digitalsatori 管理员
    写于 最后由 编辑
    #2

    看一下PgSQL的data目录下的pg_hba.conf文件可能会让你不那么郁闷了。

    【上海先安科技】(tony AT openerp.cn)

    1 条回复 最后回复
    0
  • ? 离线
    ? 离线
    游客
    写于 最后由 编辑
    #3

    请版主具体指点下,看完了还是不知所云啊!

    1 条回复 最后回复
    0
  • digitalsatoriD 离线
    digitalsatoriD 离线
    digitalsatori 管理员
    写于 最后由 编辑
    #4

    你具体没有说是什么连接错误。如果你的pg服务器与pgadmin不在同一台电脑的话多数是客户端认证错误。
    你可以查看pgadmin所带的帮助第20章的内容,我把其中相关的一个说明拷贝如下:
    host
    This record matches connection attempts made using TCP/IP. host records match either SSL or non-SSL connection attempts.

    NoteRemote TCP/IP connections will not be possible unless the server is started with an appropriate value for the runtime-config-connection.html#guc-listen-addresses configuration parameter, since the default behavior is to listen for TCP/IP connections only on the local loopback address localhost.

    【上海先安科技】(tony AT openerp.cn)

    1 条回复 最后回复
    0
  • A 离线
    A 离线
    ajax79
    写于 最后由 编辑
    #5

    [quote]原帖由 [i]digitalsatori[/i] 于 2008-2-18 13:50 发表 www.shine-it.net/tinyerp/redirect.php?goto=findpost&pid=356&ptid=113
    看一下PgSQL的data目录下的pg_hba.conf文件可能会让你不那么郁闷了。 [/quote]

    正解,按照

    host all all 127.0.0.1/32 trust

    格式添加一行
    127.0.0.1/32改成你的远程IP

    1 条回复 最后回复
    0

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。