From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: MySQL and emacs Date: 13 Feb 2003 14:19:08 +1100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87k7g4q34j.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045105732 4696 80.91.224.249 (13 Feb 2003 03:08:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 03:08:52 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18j9k0-0001Db-00 for ; Thu, 13 Feb 2003 04:08:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j9li-0005Rr-02 for gnu-help-gnu-emacs@m.gmane.org; Wed, 12 Feb 2003 22:10:34 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: ppp1068.nsw.padsl.internode.on.net Original-X-Trace: duster.adelaide.on.net 1045105648 ppp1068.nsw.padsl.internode.on.net (13 Feb 2003 13:37:28 +1050) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:110110 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6613 >>>>> "Julian" == Julian Saunders writes: Julian> Hi, I'm new to emacs and I'm trying to run MySQL from emacs. Julian> Can someone please provide me with step by step information Julian> to do this. I'm confused by the info. I've found on the www Julian> thus far and everything I've tried has not worked. I'm using Julian> emacs 21.2.2 on Win98. Julian> Thanks, Julian Julian> ----------------------------------- Julian Saunders School of Julian> Psychology University of Natal Durban 4001 South Africa Julian> saundersj@nu.ac.za Mobile: 082 722 0939 Use sql-mode - it comes with emacs 21. type M-x sql-mysql which will open a interactive sql session in a buffer connected to mysql (you will be prompted for user, password and database. In another buffer open a new file. type M-x sql-mode To put the buffer into sql mode. Now you can enter sql commands in this buffer and the output can be sent to the interactive sql buffer via keystrokes or via the menu at the top of the frame. The command M-x sql-help should give you some more info on sql mode. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!