Postgresql localhost connection url?
Postgresql localhost connection url?
- Subject: Postgresql localhost connection url?
- From: Kevin Spake <email@hidden>
- Date: Sun, 02 Mar 2014 20:45:12 -0800
Hi there.
I'm going through the Learning the Wonders book, and I'm at the point where I've built my first model, and I'm trying to generate the sql to it. My database is postgresql 9.3. When I hit the "Generate SQL" button I get an error saying that it can't connect. Postgresql is running on the same computer, so I'm trying to connect to localhost over port 5433. I can connect to the database via psql, and pg admin, but not from my app.
From what I've read, 9.3 should accept tcp/ip connections via localhost by default, without any configuration change. I've got the jdbc driver in the libraries folder and it was added to the build path. Maybe my url is wrong? This is the url I am using: jdbc:postgresql://localhost/5433/wonderbook
Any suggestions?
Thanks,
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden