代码之家  ›  专栏  ›  技术社区  ›  PhoenixBlue

无法再连接到postgresql

  •  0
  • PhoenixBlue  · 技术社区  · 7 年前

    所以我执行了命令 sudo apt-get purge postgresql-9.* 现在,我只有10.5版。问题是,我不能再连接到我的数据库使用PGAdmin,而且,我所有的C程序连接到postgres数据库不能再连接!

    我试着在网上查找修改过的文件 pg_hba.conf postgresql.conf 允许所有连接从端口5432,甚至重新开放端口5432,仍然没有!

    sudo -i -u postgres
    psql
    ....
    
    0 回复  |  直到 7 年前