linux 下启动postgresql出现
FATAL:  database files are incompatible with server
ETAIL:  The database cluster was initialized with 7.3. but the server was compiled without 8.3.4.为什么,请教各位!

解决方案 »

  1.   

    是不是装了两个版本的postgresql啊?或者系统默认安装了一个,你又自己安装了一个
      

  2.   

    8.3.4的程序无法读取7.3的数据目录。
    你可以通过环境变量pgdata来指定本次想启动的数据目录。
    export PGDATA=cluster_path
      

  3.   

    怎么出现
    postgres cannot  access the server  configuration file“/usr/local/postgres/postgresql8.3.4/data/posgresql.conf”明明看见有这个文件的阿,烦死了,搞来搞去,不明白!
      

  4.   

    谢谢各位,解决了,是因为用户的问题需要使用postgres用户。
    走了不少弯路,唉......