Unix Technical Forum

Re: plz do help me.

This is a discussion on Re: plz do help me. within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Could you cc: the mailing list as well as replying to me? That way, if anyone else can help ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 01:03 AM
Richard Huxton
 
Posts: n/a
Default Re: plz do help me.

Could you cc: the mailing list as well as replying to me? That way, if
anyone else can help they can see the messages too.

Mohan wrote:
> Sir,
> i have installed pgsql in fedora core 2, i have created users in pgsql,
> we have created tables, there is no problem in creating tables ,
> everything working fine when we connect to pgsql and work by using ssh
> login.


Can you connect over the network from your Windows client (using
pgadmin/psql)?

> The pgsql windows odbc package has been installed in windows machine, i
> have created dsn in windows machine for pgsql by odbc connectivity,
> the problem is that "unable to connect to server" and after that we got
> Data Access Error"


What do the PostgreSQL logs show? Is there any record of your connection
attempt?
1. Update your postgresql.conf to record connections, restart PG and
test the logging works by connecting locally.
2. Then, try connecting from the Windows PC.
3. If there is no record of a connection in the PostgreSQL logs, you
should check two things:
i. Have you enabled internet connections in postgresql.conf?
(tcpip_socket or listen_addresses)
ii. Is your firewall blocking connections (check system logs)

If there is a connection attempt in the logs, it should say why it
failed. You can post the log here and we'll see what we can do.
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com