Connecting Tech Pros Worldwide Help | Site Map

Two general, simple questions

  #1  
Old April 13th, 2006, 01:58 AM
John Oliver
Guest
 
Posts: n/a
I know nothing about databases, SQL, or PostGreSQL :-)

I installed PostGreSQL and phpPgAdmin on a web server. It looks like
PostGreSQL insists that a username / password be supplied, unlike MySQL
that just runs as "root". I'm trying to find out how to add a user, but
apparently, this is such a stupendously simple operation that everybody
should know how to do, since it isn't mentioned anywhere :-) As an
adjunct (and my second question), I'm trying to find out how to enable
logging.

--
* John Oliver http://www.john-oliver.net/ *
* Reform California gun laws - http://www.reformcagunlaws.com/ *
* http://www.gunownersca.com - http://www.crpa.org/ *
* San Diego shooters come to http://shooting.forsandiego.com/ *
  #2  
Old June 9th, 2006, 01:15 AM
ophidian
Guest
 
Posts: n/a

re: Two general, simple questions


On Thu, 13 Apr 2006 00:46:32 +0000, John Oliver wrote:
[color=blue]
> I know nothing about databases, SQL, or PostGreSQL :-)
>
> I installed PostGreSQL and phpPgAdmin on a web server. It looks like
> PostGreSQL insists that a username / password be supplied, unlike MySQL
> that just runs as "root". I'm trying to find out how to add a user, but
> apparently, this is such a stupendously simple operation that everybody
> should know how to do, since it isn't mentioned anywhere :-) As an
> adjunct (and my second question), I'm trying to find out how to enable
> logging.[/color]

You could log in as root, then su postgres, then create your new user.

http://www.debianhelp.co.uk/postgresql.htm
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple questions on use of objects (probably faq) Brian Elmegaard answers 30 March 10th, 2006 09:15 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 03:55 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 5 November 14th, 2005 12:36 PM
simple symetric encryption advice David Bear answers 1 July 18th, 2005 06:40 PM