pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Horvath <pillesoft@yahoo.co.uk>
To: Devrim GUNDUZ <devrim@oper.metu.edu.tr>
Cc: pgslq-php <pgsql-php@postgresql.org>
Subject: Re: connecting from php
Date: Tue, 26 Mar 2002 00:52:01 -0800 (PST)
Message-ID: <20020326085201.14627.qmail@web14706.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0203182057240.27562-100000@oper.metu.edu.tr>

Hi,

i've checked it, i use exactly 7.2, but it is working
with cygwin on w2k os.

Ivan

--- Devrim GUNDUZ <devrim@oper.metu.edu.tr> wrote:
> 
> Hi,
> 
> This lines are taken from pg_hba.conf :
> 
> #   md5:        Same as "password", but the password
> is encrypted while
> #               being sent over the network. This
> method is preferable to
> #               "password" except for pre-7.2
> clients that don't support it.
> #               NOTE: md5 can use usernames stored
> in secondary password
> #               files but ignores passwords stored
> there.  The pg_shadow
> #               password will always be used.
> 
> 
> I mean, could it be you're not running earlier
> versions of PostgreSQL?
> 
> Best regards,
> Devrim
> 
> On Mon, 18 Mar 2002, Ivan Horvath wrote:
> 
> > thank you for the fast answer,
> > 
> > here is the php code:
> > $conn = pg_Connect("host=192.168.1.30 port=5432
> > dbname=PMS2500 user=web password=web");
> > 
> > here is the error message:
> > Warning: Unable to connect to PostgreSQL server:
> > fe_sendauth: authentication type 5 not supported
> in
> > c:\program files\apache
> > group\apache\htdocs\test\masodik.php on line 8
> > 
> > Ivan
> > 
> > --- Devrim GUNDUZ <devrim@oper.metu.edu.tr> wrote:
> > > 
> > > Hi,
> > > 
> > > If you paste the php line and error message that
> you
> > > are getting, we can 
> > > easily help you. 
> > > 
> > > Otherwise, all we can do could be just guessing
> what
> > > is happening 
> > > there....
> > > 
> > > Regards and best wishes,
> > > 
> > > 
> > > Devrim GUNDUZ
> > > 
> > > devrim@oper.metu.edu.tr
> > > devrim.gunduz@linux.org.tr
> > > devrimg@tr.net
> > > 
> > > Web : http://devrim.oper.metu.edu.tr
> > >
> >
>
------------------------------------------------------------------
> > > 
> > > 
> > > On Mon, 18 Mar 2002, Ivan Horvath wrote:
> > > 
> > > > hi All,
> > > > 
> > > > i set up in the pg_hba.conf file the md5
> password
> > > > encyption method for the client
> authentication.
> > > > i try to connect to the database from another
> > > machine
> > > > with the psql client tool - it is working.
> > > > i try to connect with php script it is not
> > > working!
> > > > please help me!
> > > > 
> > > > Ivan
> > > > 
> > > > 
> > > > =====
> > > > Best Regards,
> > > > 
> > > > Ivan Horvath
> > > > 
> > > > Anyone who has never made a mistake has never
> > > tried anything new. 
> > > > 
> > > > /Albert Einstein/
> > > > 
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Sports - live college hoops coverage
> > > > http://sports.yahoo.com/
> > > > 
> > > > ---------------------------(end of
> > > broadcast)---------------------------
> > > > TIP 4: Don't 'kill -9' the postmaster
> > > > 
> > > 
> > > 
> > 
> > 
> > =====
> > Best Regards,
> > 
> > Ivan Horvath
> > 
> > Anyone who has never made a mistake has never
> tried anything new. 
> > 
> > /Albert Einstein/
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Sports - live college hoops coverage
> > http://sports.yahoo.com/
> > 
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org
> > 
> 
> -- 
> 
> Devrim GUNDUZ
> 
> devrim@oper.metu.edu.tr
> devrim.gunduz@linux.org.tr
> devrimg@tr.net
> 
> Web : http://devrim.oper.metu.edu.tr
>
------------------------------------------------------------------
> 
> 
> 
> 


=====
Best Regards,

Ivan Horvath

Anyone who has never made a mistake has never tried anything new. 

/Albert Einstein/

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/



view thread (8+ messages)  latest in thread

Message-ID: <20020326085201.14627.qmail@web14706.mail.yahoo.com>
Permalink:  ../20020326085201.14627.qmail@web14706.mail.yahoo.com/
Also on:    postgresql.org/message-id/20020326085201.14627.qmail@web14706.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: pillesoft@yahoo.co.uk, devrim@oper.metu.edu.tr
  Subject: Re: connecting from php
  In-Reply-To: <20020326085201.14627.qmail@web14706.mail.yahoo.com>
  References: <Pine.LNX.4.44.0203182057240.27562-100000@oper.metu.edu.tr> <20020326085201.14627.qmail@web14706.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox