RE: PHP and PostgreSQL

2003-02-13 Thread Marius Andreiana
On Mi, 2003-02-12 at 19:30, Joel Lopez wrote: > I don't have a data/postgresql.conf file. it's created when you start postgresql for the first time ( service postgresql start ), don't create it by hand (as it has been mentioned, it's in /var/lib/pgsql/data ) -- SoluĊ£ii informatice bazate pe Linu

RE: PHP and PostgreSQL

2003-02-12 Thread Patrick Nelson
Joel Lopez wrote: - I don't have a data/postgresql.conf file. But I do have a /usr/share/pgsql/postgresql.conf.sample file. should I copy and rename this file with out the .sample or should I place a copy in a /data directory somewhere? - Look under: /var/

Re: PHP and PostgreSQL

2003-02-12 Thread Gordon Messmer
On Wed, 2003-02-12 at 08:50, Joel Lopez wrote: > > I have installed Red Hat 8. I have been trying to use PostgreSQL with PHP > but I can't seem to connect to the DB. Dont' specify a hostname or port. If you do, the PostgreSQL libraries attempt a TCP/IP connection. If you leave them unspecified

RE: PHP and PostgreSQL

2003-02-12 Thread Joel Lopez
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joel Lopez Sent: Wednesday, February 12, 2003 9:31 AM To: [EMAIL PROTECTED] Subject: RE: PHP and PostgreSQL I don't have a data/postgresql.conf file. But I do have a /usr/share/pgsql/postgresql.conf.sample file. should I cop

RE: PHP and PostgreSQL

2003-02-12 Thread Joel Lopez
EMAIL PROTECTED]]On Behalf Of Marius Andreiana Sent: Wednesday, February 12, 2003 9:16 AM To: redhat-list Subject: Re: PHP and PostgreSQL On Mi, 2003-02-12 at 18:50, Joel Lopez wrote: > Hi, > > I have installed Red Hat 8. I have been trying to use PostgreSQL with PHP > but I can't

RE: PHP and PostgreSQL

2003-02-12 Thread Fontenot, Paul
Sent: Wednesday, February 12, 2003 10:16 AM To: redhat-list Subject: Re: PHP and PostgreSQL On Mi, 2003-02-12 at 18:50, Joel Lopez wrote: > Hi, > > I have installed Red Hat 8. I have been trying to use PostgreSQL with > PHP but I can't seem to connect to the DB. for all db ad

Re: PHP and PostgreSQL

2003-02-12 Thread Marius Andreiana
On Mi, 2003-02-12 at 18:50, Joel Lopez wrote: > Hi, > > I have installed Red Hat 8. I have been trying to use PostgreSQL with PHP > but I can't seem to connect to the DB. for all db admin tasks login as the user postgres, don't use root. Don't set a password for postgres ( the default doesn't all

Re: PHP and PostgreSQL

2003-02-12 Thread papapep
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joel Lopez wrote: | Hi, | | I have installed Red Hat 8. I have been trying to use PostgreSQL with PHP | but I can't seem to connect to the DB. | I have created a user and a DB in postgres. What is the proper way to set | up the DB and new user? Shou

PHP and PostgreSQL

2003-02-12 Thread Joel Lopez
Hi, I have installed Red Hat 8. I have been trying to use PostgreSQL with PHP but I can't seem to connect to the DB. I have created a user and a DB in postgres. What is the proper way to set up the DB and new user? Should the new user be the owner of the DB? Thanks for the help. Joel -- re