Odoo 中文社区

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

    由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

    本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

    开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

    如果您登录系统碰到问题,请在微信公众号留言:

    ,pgadmin如何连接到Tinyerp

    Odoo 新手求助
    2
    6
    6682
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      Guest last edited by

      试了好几次都不成功,比较郁闷,:'( 请高手指点!
      [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 Reply Last reply Reply Quote 0
      • digitalsatori
        digitalsatori 管理员 last edited by

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

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

        1 Reply Last reply Reply Quote 0
        • ?
          Guest last edited by

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

          1 Reply Last reply Reply Quote 0
          • digitalsatori
            digitalsatori 管理员 last edited by

            你具体没有说是什么连接错误。如果你的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 Reply Last reply Reply Quote 0
            • A
              ajax79 last edited by

              [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 Reply Last reply Reply Quote 0
              • First post
                Last post