473,395 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how to connect a remote database in postgresql

7
i want to connect a local remote database
Expand|Select|Wrap|Line Numbers
  1. select dblink('host=192.168.1.2 dbname=postgres user=postgres password=webgis',' select * from test');
however i am getting a below error message,
ERROR: could not establish connection
DETAIL: FATAL: no pg_hba.conf entry for host "192.168.1.10", user "postgres", database "postgres", SSL off

kindly please any one can help me
Apr 8 '13 #1
8 4344
r035198x
13,262 8TB
Do you have a pg_hba.conf entry for host "192.168.1.10"?
Apr 8 '13 #2
surk16
7
yes added and reloaded the configuration file. but still issue persists
Apr 8 '13 #3
r035198x
13,262 8TB
Where did you add? You must add on the database you are trying to connect to.
Apr 8 '13 #4
surk16
7
database configuration file only.
please provide clear answer
Apr 8 '13 #5
r035198x
13,262 8TB
You must add to the config file of the database on 192.168.1.2 and restart that.
Apr 8 '13 #6
surk16
7
did the same thing, send me steps or provide docs
Apr 8 '13 #7
surk16
7
what are the steps to remote a database, send me relevant on that docs, whatever u sent the docs already i have
Apr 8 '13 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: NagaKiran | last post by:
Hi I need a help. I have a VB code In that I want to connect to a remote database thru VB code. Can we connect a Access database which is located in a web server thru VB? If so how can we...
4
by: JIM.H. | last post by:
Hello, My database stays in a remote site and I have access it through VPN. I would like connect my current Windows based Asp.Net application with this database. What are my options? Can I...
3
by: Luca | last post by:
I'have Easy PHP in localhost and i need connect php page (local) to remote database: $db_host = "62.149.225.23"; $db_user = "gfo"; $db_password = "gfo"; $db_name = "gfonline"; $db =...
3
by: Pakna | last post by:
Hello, I have what may be a beginner's question regarding DB2. How does one access a remote table on a remote database via SQL? What is the command string, is there an equivalent of Oracle...
7
by: Vivek | last post by:
Hi, I want to know if it is possible to load(using the db2load API) into a remote database. By remote database i mean one that i have cataloged. Any parameters that need to be changed ? TIA
3
by: meatwad | last post by:
hi, i have a python script which (among other things) generates a web page. i would like to access a postgresql database on a remote machine and display query results dynamically on this web page....
10
by: mairhtin o'feannag | last post by:
Hello, I'm having problems connecting to my new v9 db box. The pertinent information is below: DB2_db2inst1 60000/tcp DB2_db2inst1_1 60001/tcp DB2_db2inst1_2 60002/tcp DB2_db2inst1_END...
5
by: Rnt6872 | last post by:
Hello. All, I've been trying to connect to my hosting company's (Go Daddy) remote database. But continuously receive "Server does not allow remote connections". Do I need a open_source...
1
by: sbettadpur | last post by:
hi, i wrote a script in php, to connect remote database server. i am getting the following errors Warning: mysql_connect() : Host 'IPaddress(i changed)' is not allowed to connect to this MySQL...
1
by: wdelacruz | last post by:
Hi.. I have a server in which exists a db2(8.1.2) database, and i'm installing a software in other server in the same net that connects with this database, but it doesn't connect with the db2...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.