From mboxrd@z Thu Jan 1 00:00:00 1970 From: Saulius =?utf-8?Q?Menkevi=C4=8Dius?= Subject: Re: [PATCH] lisp/ob-sql.el: add support for :dbport parameter Date: Tue, 07 Apr 2015 20:12:54 +0300 Message-ID: References: <86mw2kee5k.fsf@kcals2.maillard.im> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfX3d-0002y1-Ul for emacs-orgmode@gnu.org; Tue, 07 Apr 2015 13:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfX3Z-0006hA-VX for emacs-orgmode@gnu.org; Tue, 07 Apr 2015 13:13:01 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:33434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfX3Z-0006gd-NR for emacs-orgmode@gnu.org; Tue, 07 Apr 2015 13:12:57 -0400 Received: by wgin8 with SMTP id n8so63072610wgi.0 for ; Tue, 07 Apr 2015 10:12:57 -0700 (PDT) In-reply-to: <86mw2kee5k.fsf@kcals2.maillard.im> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xavier Maillard Cc: emacs-orgmode@gnu.org, Saulius =?utf-8?Q?Menkevi=C4=8Dius?= Xavier Maillard writes: > Saulius Menkevičius writes: > >> This (tiny) patch implements ability to set dbport for org-babel sql >> functionality. I often use ssh port forwarding to connect to remote >> mysql servers where port is mapped to non-standard one on local machine. >> >> This is my first patch, below the 15 line threshold. > > Seems good AFAICS. > > Do you often use orgmode, BABEL and sql all together ? (just curious > as I am a DBA in real life). I am not a DBA by trade, it is just that I found out that developing web app features this way is more structured than keeping SQL plus the rest of the code all over the filesystem when prototyping. But then I use it to do a 'show processlist' on my SQL servers with a C-c C-c which is always pleasant, but it is probably not what real DBAs for monitoring.. > > -- Xavier. -- Saulius Menkevičius (saulius.menkevicius@gmail.com)