LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2002, 04:35 AM   #1
iaypaa
LQ Newbie
 
Registered: Oct 2002
Distribution: Suse 8.1
Posts: 6

Rep: Reputation: 0
Connecting to PostgreSQL from PHP Script


I have a postgresql database set up, which I can manipulate via psql. I wish to connect to this from a PHP script I have used previously on other servers. However on my new server (Suse 8.1) I cannot connect to the database from a webscript.

In fact, I can't connect to the database from psql if I specify the host parameter as the machines IP address. The error message from psql and the webpage both mention that it might not be running on the IP address and/or port I think they should be, but I'm sure they are.....

Any ideas - I'm completely stuck!

Thanks in advance!

Paul
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting with windows pgadminIII to linux postgresql server pelgrimforever Linux - Software 5 08-22-2004 09:27 AM
php/postgresql BobNz Programming 4 05-10-2004 06:18 PM
Slackware Postgresql and PHP squirreldogger Slackware 2 11-21-2003 05:19 PM
Postgresql and PHP problem peteABK Programming 7 08-03-2003 07:44 PM
Connecting PostgreSQL and Apache server Bert Programming 1 03-13-2002 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration