all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* sql-postgresql authentication failure
@ 2007-05-24 22:04 Sebastian P. Luque
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastian P. Luque @ 2007-05-24 22:04 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I'd like to use `sql.el' to connect to local postgresql databases.  I'm
accessing the server through my normal user account, although I've added
myself as a super user in the postgresql server.  In a shell, I can
connect to a 'test' database with:

---<---------------cut here---------------start-------------->---
$ psql test
Welcome to psql 8.2.4, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

test=#
---<---------------cut here---------------end---------------->---

However, when I try to do it from Emacs with `sql.el', I have:


M-x sql-postgresql

In the minibuffer:

"User: myuser"
"Database: test"
"Server: localhost"
"Password for user myuser: secret"

and the message from the server:
Password for user myuser: 
psql: FATAL:  password authentication failed for user "myuser"

Process SQL exited abnormally with code 2

Password for user sluque: 
psql: FATAL:  password authentication failed for user "myuser"

Process SQL exited abnormally with code 2


I'm using:

,-----[ psql --version ]
| psql (PostgreSQL) 8.2.4
| contains support for command-line editing
`-----

Any ideas what might be wrong?  Thanks.


Cheers,

-- 
Seb

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-26 17:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1198.1180044285.32220.help-gnu-emacs@gnu.org>
2007-05-25  5:28 ` sql-postgresql authentication failure Tim X
2007-05-25 13:07   ` Sebastian P. Luque
2007-05-25 19:12     ` Sebastian P. Luque
2007-05-26 17:00       ` James Cloos
     [not found]     ` <mailman.1241.1180121811.32220.help-gnu-emacs@gnu.org>
2007-05-26  7:52       ` Tim X
2007-05-24 22:04 Sebastian P. Luque

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.