采用6.06 server版,一开始用postgresql8.1,没什么问题。后来
sudo apt-get remove postgresql-8.1,
sudo apt-get install postgresql-7.4,
没出错。
sudo /etc/init.d/postgresql-7.4 start
也没报错。但
sudo -u postgres sh
createdb test
就报:
createdb:could not connect to database postgres:could not connect to server:No such file or directory
Is the server running locally and accepting
connection on Unix domain socket "/tmp/.s.PGSQL.5432"?
postgresql能启动,但不能建数据库和用户
-
- 帖子: 118
- 注册时间: 2005-05-11 8:56
-
- 帖子: 48
- 注册时间: 2006-03-24 2:05
- 来自: 浙江温州
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系: