LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-26-2010, 01:41 AM   #1
arvindk.monu
LQ Newbie
 
Registered: Aug 2009
Posts: 22

Rep: Reputation: 0
cannot create database in postgreSQL please help


Hello all
i installed Fedora 14 on my machine,then i installed postgresql in it
i started it and configured it after seeing link

http://www.if-not-true-then-false.co...edora-red-hat/

i am able to do su - postgres
but when i am trying to create database in it am getting error,It is asking for password then i am giving my root password

createdb company
Password:
createdb: could not connect to database postgres: FATAL: password authentication failed for user "postgres"


Please help

Regards
Arvind Kumar
 
Old 12-27-2010, 02:01 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

If not yet done, launch s root the command
service postgresql initdb
Tshimanga.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postgresql database server linuxengineer Linux - Server 3 11-28-2010 10:54 PM
sharing postgresql database manikandan_vs Linux - Newbie 1 10-02-2010 02:30 PM
I need help securing my postgresql database... trist007 Linux - Security 12 01-10-2010 07:38 PM
PostgreSQL database design? justemail Linux - General 1 05-26-2009 08:27 AM
Postgresql- non-savable 'sandbox' database? mschrank99 Programming 4 01-04-2007 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration