,pgadmin如何连接到Tinyerp
-
试了好几次都不成功,比较郁闷,:'( 请高手指点!
[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如何能够不郁闷??
-
看一下PgSQL的data目录下的pg_hba.conf文件可能会让你不那么郁闷了。
-
你具体没有说是什么连接错误。如果你的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.