Re: PostgreSQL and -i
| From: | Doug Semig | Date: | Sat, 19 Aug 2000 01:36:03 +0000 |
| Subject: | Re: PostgreSQL and -i | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2174@lists.php.net to get a copy of this message | ||
Try separating out the "D" from the "i".
For example:
/usr/local/pgsql/bin/postmaster -i -D/usr/local/pgsql/data
Doug
At 06:49 PM 8/18/00 -0400, Nauman ul-Haque wrote:
>Hi
>I just installed PostgreSQL but it wont let me use -i parameter and I have
>to use it to connect the databse using PHP. This is the error i get, and I
>am trying to run it as the DB superuser.
>
>/usr/local/pgsql/bin/postmaster -Di /usr/local/pgsql/data
>/usr/local/pgsql/bin/postmaster does not find the database system. Expected
>to find
>it in the PGDATA directory "i", but unable to open file with pathname
>"i/base/template1/pg_class".
>
>No data directory -- can't proceed.
>
>It'll start postmaster if the -i parameter is not passed, as in just ,
>/usr/local/pgsql/bin/postmaster -Di /usr/local/pgsql/data is used.
>If soem one knows the problem please help me out
>Nauman
>