Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id B32D92E002F for ; Fri, 16 May 2008 14:01:35 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 54465-04 for ; Fri, 16 May 2008 14:01:31 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.230]) by developer.postgresql.org (Postfix) with ESMTP id 2C6B62E0043 for ; Fri, 16 May 2008 14:01:31 -0300 (ADT) Received: by qb-out-0506.google.com with SMTP id a39so841147qbd.17 for ; Fri, 16 May 2008 10:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BafcnHKz9iijF33NDUN0+fVkJI7vQlttg+4rpYnXiKk=; b=KDPzti6SxXhzpCCV6xCoZQABKdrbwqTLSI0yEDuIgt8El1monoDavx7YocFA3WhPSXDn04jtcB3+gTM58TQekBUY026aiD2oOYzrfILUwpZqSlKaQOLvZQtrtfwlaooxqWSNG1HcUCTjxJFLfq/+DteTcy/w3lEgVNtgxRZrVK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L/4BtB/cGwjDNrx/eRx7IL+vAeIpod1zAdwRhJuvR+9/51ueBWOiX2ydjTKyITF0N7JGjH4J3y0AgGycSCiVB2fEW+hcljSAbmLEofQZd3X3K8Pci0mnSjJSKJmUmXYlhtQAibIjUAywnIipMR65m+PALGN9MNZXdbUhG94ZObA= Received: by 10.114.15.1 with SMTP id 1mr3961968wao.27.1210957290179; Fri, 16 May 2008 10:01:30 -0700 (PDT) Received: by 10.114.137.7 with HTTP; Fri, 16 May 2008 10:01:30 -0700 (PDT) Message-ID: Date: Fri, 16 May 2008 11:01:30 -0600 From: "Scott Marlowe" To: "LaRue, Patricia" Subject: Re: Can't reinstall b/c don't know the very long installation password Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/149 X-Sequence-Number: 29233 On Fri, May 16, 2008 at 8:41 AM, LaRue, Patricia wrote: > Experts: > > > > I installed PostgreSQL and created the initial "very long" password and > wrote it down. Someone else did something to change it and now neither one > of us can log into the DB. So I tried to uninstall and reinstall but my > "very long" password is not recognized and without it I cannot complete the > installation. I even tried removing all PostgreSQL stuff from the registry. > Does anyone know how I can blow away wherever that password is located and > start fresh? Two ways to do this. 1: log in in single user mode. To do so, shut down the db, then use the postgres command to bring up the db in single user mode, like so: postgres -D /my/data/dir --single and then issue the command to change the password. OR 2: change pg_hba.conf to trust on some known IP, hup the server (pg_ctl -D /my/data/dir reload) and then log in as postgres and change your password.