linux 源码安装出现createdb: could not connect to database template1: FATAL: role "postgres" does not exis

来源:互联网 发布:海外代购报告 淘宝 编辑:程序博客网 时间:2024/05/22 11:46

这个原因折腾了好久,最终在http://stackoverflow.com/questions/15591749/unable-to-create-user-postgres-role-postgres-does-not-exists

发现了原因,是因为一个postgresql-xc 的bug导致的,

按照操作卸载postgresql-xc 

sudo apt-get--purge remove postgres-xc


之后一切都好使了,

安装环境ubunut linux 14.04 ,postgresql 9.3.5


0 0