473,811 Members | 2,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pgadmin problem

mmd
I want to use pgadmin to set up some tables, rather than do all the
psql statements from the terminal.

When I try to add a server, though, pgadmin fails to connect, and asks
whether the server is accepting TCP/IP connections on the default
port, and whether localhost is the correct servername.

I assume that both of these ARE set to the defaults, because if I
simply type

$ psql contacts

I go right into psql, where I am allowed to make and alter tables.

Is there something along the lines of a "psql -v" that would tell
me what the server calls itself, and what ports it's listening on (oh,
and whether it's allowing TCP/IP connections)?

If not, is there better help on this pgadmin3 dialogue somewhere? The
stock documentation is very thin.

Best,
Matt

--

Matthew M Davis
<mm*@teledavis. com>

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #1
2 1941
mm*@teledavis.c om writes:
I want to use pgadmin to set up some tables, rather than do all the
psql statements from the terminal.

When I try to add a server, though, pgadmin fails to connect, and asks
whether the server is accepting TCP/IP connections on the default
port, and whether localhost is the correct servername.

I assume that both of these ARE set to the defaults, because if I
simply type

$ psql contacts

I go right into psql, where I am allowed to make and alter tables.


The server doesn't use TCP/IP by default. You can change this by
editing the postgresql.conf file in the server's data directory (the
location of which varies depending on how PG was installed) and
setting 'tcpip_socket' to 'true', then restarting the server.

You may also need to edit pg_hba.conf, depending on whether you're
connecting from the local machine and how you have your databases set
up.

-Doug

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #2
On Fri, 2004-07-23 at 13:58, mm*@teledavis.c om wrote:
I want to use pgadmin to set up some tables, rather than do all the
psql statements from the terminal.

When I try to add a server, though, pgadmin fails to connect, and asks
whether the server is accepting TCP/IP connections on the default
port, and whether localhost is the correct servername.

I assume that both of these ARE set to the defaults, because if I
simply type

$ psql contacts

I go right into psql, where I am allowed to make and alter tables.


In that case you are not using TCP/IP to localhost, but a Unix socket.
Try "psql -h localhost contacts" to see the difference.

Edit $PGDATA/pg_hba.conf to change the settings (and then signal the
postmaster or restart it).

--
Oliver Elphick ol**@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
=============== =============== ==========
"Be not deceived; God is not mocked; for whatsoever a
man soweth, that shall he also reap."
Galatians 6:7
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1193
by: Matthew T. O'Connor | last post by:
Saw this on newsforge.com just a few minutes ago. Go to www.pgadmin.org to get your copy. I just installed the windows version on a Win2k Terminal Server Box that several developers use, installed easy seems to work well, and looks nice. Contratualatios to all the PGAdmin developers on a job well done, finally a nice cross-platform gui postgresql admin tool!!! Matthew
1
2262
by: Együd Csaba | last post by:
Hi All, I've a problem using PGAdmin III. When I click on one of my functions the definition pane shows an empty function (with the correct header and footer but with no body). Pg_dump shows everything correctly. What can be the problem. My other problem is that PGAdmin won't handle '?' (euro) sign. It shows the previously correctly enterd data (by means of other tools) but it won't insert or update it in the correct way. It shows a '?'...
1
6644
by: mikew | last post by:
I am working at a company that has been using MS SQL Server, and we are going to be switching over to postgresql next week. (Getting off of Windows will be a relief!) I am very familiar with SQL Server's "Enterprise Manager", which is their GUI for accessing the db. I have been acquainting myself with pgAdmin. There are a number of things that I really like about pgAdmin, but there are a few things that SQL Server Enterprise manager can...
1
3425
by: MargaretGillon | last post by:
I am using PGADMIN III v1.1.0 Windows to set up PostgreSQL tables on a Linux Server, RedHat 9. Every time I create a character field, even just one character wide, the PGADMIN uses EXTENDED as the default storage type. Is this normal? I can't find anything about why this would be done in the PostgreSQL documentation or the Internet. It seems to me it will be very messy if every character field is in a secondary table. I would have thought...
1
1527
by: raptor | last post by:
hi, Is there a plans for pgadmin III to support editing the table data, not only view-ing it ? tia ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
2
2179
by: Vic Cekvenich | last post by:
What can I run on OS X as a pgAdmin equivalment (other than the Java solutions)? ..V -- Please post on Rich Internet Applications User Interface (RiA/SoA) <http://www.portalvu.com> ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings
0
1218
by: Laurent Duperval | last post by:
HI, I'm using pgadmin III 1.2.0 Post Beta 1 (Sept 17 2004). I used it to execute a SQL script that creates tables and inserts data. At the end, I get a message saying that everything went through correctly. However, when I try to view the data in the pgadmin window, nothing shows up. My backend is PG 8.0 Beta 2 on Windows 2000. Any ideas on what the problem could be?
1
7215
by: John French | last post by:
I just installed postgresql 7.4.5 and pgadmin3 1.0.2 on FreeBSD and noticed that pgadmin allows the pgsql user to log in while ignoring the password. You can enter a wrong password or no password and still get into postgresql. I started the postmaster as a FreeBSD user named pgsql by running postmaster -i -D /usr/local/pgsql/data I changed postgresql's pgsql user account to have a new password via pgadmin3 too. But I can still log in to...
1
124919
by: gocraig | last post by:
PG Admin Version 1.6.0 (Nov 15 2006, rev 5641) Running on Windows 2000 PostgreSQL 8.2.6, running remotely on Linux pg_hba.conf contains the record ... host all all 12.345.678.90 255.255.255.255 trust where 12.345.678.90 is the IP address that I am trying to connect from Database started with /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -o -i start
0
9734
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10395
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10408
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9211
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7673
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6895
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3874
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3026
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.