[postgre@localhost postgre]$ mkdir data
是不是在你的/目录下创建的
不懂么意思??作者: tonyutada 时间: 2004-02-08 20:12 标题: 请教PostgreSQL安装后的设置问题 su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/data/usr/local/pgsql/bin/createdb test 的时候出现了以下问题:
createdb: could not connect to database template1:could not connect to server:
No such file or directory
Is the server running locally and accepting
connecting on unix domain socket .............