Re: connecting to the database from pgadmin client

Поиск
Список
Период
Сортировка
От Thara Vadakkeveedu
Тема Re: connecting to the database from pgadmin client
Дата
Msg-id 1380072627.42016.YahooMailNeo@web125006.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на connecting to the database from pgadmin client  (Thara Vadakkeveedu <tharagv@yahoo.com>)
Ответы Re: connecting to the database from pgadmin client  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-admin
I need to create a database and a user and make this new user the owner of this new database.
Since I cannot access postgres db from pgadmin client on my desktop,
 
I tried to do the same from the command line on the linux db server:
 
su - postgres
-bash-4.1$ psql -d postgres

postgres=#  create user puser password 'xxxxxx'

postgres=#  create database pfdb owner puser
 
If I now try to list databases using \l
it lists postgres, template0 and template1 but not the new database I created...
 
How can I create a new database successfully ? It will be easier for me to try this from the pgadmin client.
Thanks
TG
From: Thara Vadakkeveedu <tharagv@yahoo.com>
To: Albe Laurenz <laurenz.albe@wien.gv.at>; "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.org>
Sent: Tuesday, September 24, 2013 8:37 PM
Subject: connecting to the database from pgadmin client


Hi
I am trying to connect to the database on a linux server from pgadmin on my windows desktop.
I see "Error connecting to the server: Fatal: password authentication failed for user "postgres"
I specified my linux server name for the host
port : 5432
Maintenance DB : postgres
username:postgres
passowrd: a passwod I set (using alter user postgres password command. I changed password as user postgres)
 
How can I connect to the postgres database ?
thanks,
thara.


В списке pgsql-admin по дате отправления:

Предыдущее
От: Thara Vadakkeveedu
Дата:
Сообщение: connecting to the database from pgadmin client
Следующее
От: Thara Vadakkeveedu
Дата:
Сообщение: pd_dump server mismatch error