On Fri, Aug 26, 2005 at 02:03:05PM -0700, vishal saberwal wrote: > sorry, but forgot to mention, > when i change to sslmode=allow, it lets me connect and runs my query That's because "allow" attempts a non-SSL connection first, whereas "prefer" attempts an SSL connection first. If the server permits non-SSL connections then "allow" will get you connected as non-SSL without ever attempting SSL. -- Michael Fuhr ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly