Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • 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

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 新手求助
  4. ,pgadmin如何连接到Tinyerp

,pgadmin如何连接到Tinyerp

Scheduled Pinned Locked Moved Odoo 新手求助
6 Posts 2 Posters 7.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    Guest
    wrote on last edited by
    #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 Reply Last reply
    0
    • digitalsatoriD Offline
      digitalsatoriD Offline
      digitalsatori 管理员
      wrote on last edited by
      #2

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

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

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        Guest
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • digitalsatoriD Offline
          digitalsatoriD Offline
          digitalsatori 管理员
          wrote on last edited by
          #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 Reply Last reply
          0
          • A Offline
            A Offline
            ajax79
            wrote on last edited by
            #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 Reply Last reply
            0

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Tags
            • Popular
            • Users
            • Groups