Reputation: 91
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..
Upvotes: 0
Views: 1518
Reputation: 10616
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?
Upvotes: 1