I have tried to connect to postgres the same way I connect to phpmyadmin but it seems that the connection fails.. What I did was to copy and paste my credentials into the php file.. I was wondering if i need to activate the postgres database before trying to connect?? Any help would be greatly appreciated.. Best..
3
-
PostgreSQL version? Exact error message text?Craig Ringer– Craig Ringer2012-09-03 23:17:08 +00:00Commented Sep 3, 2012 at 23:17
-
For future questions please read the FAQ, particularly stackoverflow.com/faq#howtoaskCraig Ringer– Craig Ringer2012-09-04 04:12:04 +00:00Commented Sep 4, 2012 at 4:12
-
A really good read for asking questions on any forum: catb.org/esr/faqs/smart-questions.htmlPhilip Couling– Philip Couling2012-09-04 13:00:28 +00:00Commented Sep 4, 2012 at 13:00
Add a comment
|
1 Answer
What error message do you get?
You need to at least add the database to your app before it will be available - see this answer here. Have you been able to add the app and see the database credentials?