GNU bug report logs -
#7664
sql.el: In interactive sql-<product> command, Add C-u to set connection port
Previous Next
Reported by: Jari Aalto <jari.aalto <at> cante.net>
Date: Fri, 17 Dec 2010 17:32:02 UTC
Severity: wishlist
Found in version 23.2+1-5.1
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7664 in the body.
You can then email your comments to 7664 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7664
; Package
emacs
.
(Fri, 17 Dec 2010 17:32:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jari Aalto <jari.aalto <at> cante.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 17 Dec 2010 17:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
Version: 23.2+1-5.1
Severity: wishlist
In production environments the database servers run in multiple ports, like
M-x sql-mysql
It would be nice to be able to specify PORT number during interactive call, like:
C-u M-x sql-mysql
...
Port: .....
Related read:
"At Digg, we have a lot of databases (...) What we’ve settled on is one
physical host running four different MySQL instance, one for each pool,
each listening on a different port."
* Better SQL buffer names
* Support TCP ports
* Support for preset connections
http://atomized.org/2008/10/enhancing-emacs%E2%80%99-sql-mode/
Jari
-- System Information
Debian Release: squeeze/sid
APT Prefers testing
APT policy: (990, testing) (500, unstable) (1, experimental)
Architecture: amd64
Kernel: Linux picasso 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux
Locale: LANG=en_DK.UTF-8
-- Versions of packages `emacs depends on'.
Depends:
emacs23 23.2+1-5.1 GNU Emacs is the extensible self-documenting
emacs23-lucid 23.2+1-5.1 GNU Emacs is the extensible self-documenting
emacs23-nox 23.2+1-5.1 GNU Emacs is the extensible self-documenting
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7664
; Package
emacs
.
(Tue, 21 Dec 2010 06:54:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 7664 <at> debbugs.gnu.org (full text, mbox):
Jari Aalto <jari.aalto <at> cante.net> writes:
> In production environments the database servers run in multiple ports,
> like
>
> M-x sql-mysql
>
> It would be nice to be able to specify PORT number during interactive
> call, like:
>
> C-u M-x sql-mysql
> ...
> Port: .....
Michael, could you take a look at this wishlist item? Currently,
sql-mysql already uses a prefix argument to output into a new buffer.
If you decide this suggestion is worth implementing, there are a couple
of possibilities: (i) add another interactive command that prompts for a
port number, or (ii) change the interactive spec so that a prefix arg
prompts the user about whether to use a new buffer and what port to use.
I don't use sql.el, so I don't know which makes more sense.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7664
; Package
emacs
.
(Wed, 22 Dec 2010 02:58:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 7664 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
In Emacs 24, SQL.el supports the port login parameter.
By customizing `sql-mysql-login-params' to include the atom `port' the port
will be prompted for during login. If you don't specify a value, it will not be
specified when you connect so it will use the default. You can also set a
default value for port by customizing `sql-port'.
(setq sql-mysql-login-params '(user password server port database))
Both MySQL and Postgres support the use of port during login.
________________________________
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Michael R. Mauger <mmaug <at> yahoo.com>
Cc: Jari Aalto <jari.aalto <at> cante.net>; 7664 <at> debbugs.gnu.org
Sent: Tue, December 21, 2010 1:59:40 AM
Subject: Re: bug#7664: sql.el: In interactive sql-<product> command, Add C-u to
set connection port
Jari Aalto <jari.aalto <at> cante.net> writes:
> In production environments the database servers run in multiple ports,
> like
>
> M-x sql-mysql
>
> It would be nice to be able to specify PORT number during interactive
> call, like:
>
> C-u M-x sql-mysql
> ...
> Port: .....
Michael, could you take a look at this wishlist item? Currently,
sql-mysql already uses a prefix argument to output into a new buffer.
If you decide this suggestion is worth implementing, there are a couple
of possibilities: (i) add another interactive command that prompts for a
port number, or (ii) change the interactive spec so that a prefix arg
prompts the user about whether to use a new buffer and what port to use.
I don't use sql.el, so I don't know which makes more sense.
[Message part 2 (text/html, inline)]
bug closed, send any further explanations to Jari Aalto <jari.aalto <at> cante.net>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Wed, 22 Dec 2010 07:14:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 19 Jan 2011 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.