From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: sql-postgresql authentication failure
Date: Sat, 26 May 2007 17:52:36 +1000 [thread overview]
Message-ID: <87bqg858e3.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.1241.1180121811.32220.help-gnu-emacs@gnu.org
"Sebastian P. Luque" <spluque@gmail.com> writes:
> Surprisingly, if I don't supply anything in the "Server: " prompt, then I
> can connect. Any clues what this means?
>
>
No, actually, I just found that out as well. I would have to look at the sql.el
sources to know for sure. However, I suspect that if you don't provide a
username, the function just sends the database name. If you provide nothing at
all, it tries to login to a database with the same name as the user. If you
provide a database, server, login name and password, it will try to connect
using all those parameters, which will only work if the database is configured
to allow that type of connection.
At any rate, at least you can now use sql.el to connect and interact with the
database.
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2007-05-26 7:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2007-05-24 22:04 Sebastian P. Luque
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bqg858e3.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).