|
采用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"? |
|