From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Cristian Newsgroups: gmane.emacs.help Subject: Prompt for a Port Number when using sql-mysql Date: Sat, 16 Aug 2008 11:52:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218918762 13658 80.91.229.12 (16 Aug 2008 20:32:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Aug 2008 20:32:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 16 22:33:35 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KUSSs-0000KJ-LT for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Aug 2008 22:33:34 +0200 Original-Received: from localhost ([127.0.0.1]:46626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUSRv-0000D0-VV for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Aug 2008 16:32:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a3g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 8 Original-NNTP-Posting-Host: 99.170.147.91 Original-X-Trace: posting.google.com 1218912734 6712 127.0.0.1 (16 Aug 2008 18:52:14 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 16 Aug 2008 18:52:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a3g2000prm.googlegroups.com; posting-host=99.170.147.91; posting-account=ZxOg4QoAAAC_LsXMwO9RgzSx5QaWhC7S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:161377 X-Mailman-Approved-At: Sat, 16 Aug 2008 16:31:04 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56725 Archived-At: Hi. I've been using the sql-mysql function for a while to interact with our databases and it's worked out well. Recently a coworker set up another database on a separate port that I need to access, but I don't know how switch between the ports easily. Is there a way to have sql-mysql prompt you for a port number (and use the default if you don't specify one)?