Are you able to connect using psql -h localhost -U alask -W alask airline
did you create the airline database? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Langford Sent: Saturday, July 03, 2004 9:52 AM To: [EMAIL PROTECTED] Subject: Re: [Middlegen-user] Connection problems with PostgreSQL Thanks for the input. Right now, I'm using the Ant build script that is part of the Sample application, and it does the connection the way you recommend. Actually, I don't know any other way to do it. And I am starting Postgresql with the TCP/IP option; I can connect from my other machine using psql without any trouble. Darren Hartford wrote: >Heya Bob, >I have exact same setup minus Postgres (mysql here). In my configuration, I keep the databaseURL with just the host and the database, then have the username and password be seperate properties in the Ant task (assuming you are using Ant or Maven build scripts). > ><middlegen > databaseurl="postgresql://localhost/airline" > username="aslak" > password="aslak" >... > >I doubt it would be that simple, but you never know. If it's a new Postgres install, maybe make sure the TCPIP Socket property is set to true? > >-D > > > -- Bob Langford Silicon Masters Consulting, Inc. 8207 Stone River Court, Richmond, VA 23235 phone: 804-674-1253 fax: 804-745-7803 http://www.silicon-masters.com/ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
