Hello All,
I’m trying to get php to connect to my PostgreSQL database.
The code that I’m using is below.
Login
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
IDENT authentication failed for user "auth" in
/var/www/html/thomas/cis166ae/database/se
Hello All,
I’m trying to get php to connect to my PostgreSQL database.
The code that I’m using is below.
Login
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
IDENT authentication failed for user "auth" in
/var/www/html/thomas/cis166ae/database/se
Hello All,
I’m trying to get php to connect to my PostgreSQL database.
The code that I’m using is below.
Login
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
IDENT authentication failed for user "auth" in
/var/www/html/thomas/cis166ae/database/se
Hello All,
I’m trying to get php to connect to my PostgreSQL database.
The code that I’m using is below.
Login
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL:
IDENT authentication failed for user "auth" in
/var/www/html/thomas/cis166ae/database/se
I modafide the code some more and now with the following code I get this
error.
CODE:
Login
Parse error: parse error, unexpected '=' in
/var/www/html/thomas/cis166ae/database/secretdb.php on line 8
Thanks
Thomas Bonham wrote:
Hello All,
I’m trying to
p://us3.php.net/manual/en/function.pg-connect.php
Hope this helps,
Robbert
-Original Message-
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 5:43 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Re: PostgreSQL error with PHP
I modafide the code some more and now with
--Original Message-----
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 6:48 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Re: PostgreSQL error with PHP
Thanks for the help.
The code now looks like this.
CODE:
Login
And now the error I
server running on host
"localhost" and accepting TCP/IP connections on port 5432? in
/var/www/html/thomas/cis166ae/database/secretdb.php on line 11
Connected Successfully
Thomas
Thomas Bonham wrote:
I add the hostname and port, then I configure postgresql.conf and enable
the port 54
rd or host?
-Original Message-----
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 8:03 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Re: PostgreSQL error with PHP
I rewrote the code. This is the code and errors.
This is starting to get old, I have been working o
--
# CONNECTIONS AND AUTHENTICATION
#-------
# - Connection Settings -
# Thomas Bonham 06-25-2005
#tcpip_socket = false
tcpip_socket = yes
max_connections = 100
# note: increasing max_connections costs about 500 bytes of shared
# memory per connection slot,
e I can connect to the database but no query.
The part of the code that is error "I Think" is the following.
$query = pg_query ("
SELECT * FROM property
");
Thanks for the help.
Thomas
--
------
Thomas Bonham
[EMAIL P
gt; you have the correct permissions to work with the table.
>
> The warning needs to be fixed also. The pg_num_rows command only
> takes one parameter. You need to remove the $dbconn parameter.
>
>
> John DeSoi, Ph.D.
> http://pgedit.com/
> Power Tools for PostgreSQL
Thanks for the help.
It is working like it should.
Next on the query parameters.
Again Thanks for the help.
Thomas
On 7/2/05, Martín Marqués wrote:
> El Sáb 02 Jul 2005 14:21, John DeSoi escribió:
> >
> > On Jul 2, 2005, at 9:17 AM, Thomas Bonham wrote:
> >
> > >
Hello,
I am trying to insert a php page into a database. I need to know if
there is something that I need to do when setting up the table, also is
there something to do with the code.
Thank You for your help
Thomas
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
14 matches
Mail list logo