connecting to database …… failed   
有个tcp/ip 的问题

解决方案 »

  1.   

    参考贴子:
    http://topic.csdn.net/u/20100604/18/d34809ad-0196-4899-a115-b8ed5ce05e60.html
      

  2.   

    我这个不是远程访问 而是本地装的pgsql  登录报的错啊
    登陆后弹了窗口  一大堆
    server doesn't listen. the server doesn't accept connections :the connection
    library reports. could not connect to server : connection refused
    is the server running on host 12..0.0.1 and accepting tcp/ip connections on 
    port 5432 ?if you encounter this message , please check if the server you're 
    trying to contact is actually running postgresql on the given port.test if you have network connectivity from your client to the server host using ping or equivalent tools. is your network /vpn/sshtunnel firewall configured  correctly?不知道什么错啊
      

  3.   

    在你的进程中看一下有没有pg_ctl.exe在运行?
      

  4.   

    我装着本机的有 好几个PostgreSQL。exe 的进程服务器端安装时 报的错  problem running post-install step. installation may not complete correctly  
    the database cluster initialisation failed. step.运行post-install问题可能不完全正确安装
      一个数据库集群的失败。怎么回事
      

  5.   

    也就是说没安装成功  service。msc    里边就没有他的服务啊,怎么解决啊