all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@spamto.devnul.com>
Subject: Re: MySQL and emacs
Date: 13 Feb 2003 14:19:08 +1100	[thread overview]
Message-ID: <87k7g4q34j.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: mailman.1839.1045038210.21513.help-gnu-emacs@gnu.org

>>>>> "Julian" == Julian Saunders <Saundersj@nu.ac.za> 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!

       reply	other threads:[~2003-02-13  3:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1839.1045038210.21513.help-gnu-emacs@gnu.org>
2003-02-13  3:19 ` Tim X [this message]
2003-02-12  8:23 MySQL and emacs Julian Saunders

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k7g4q34j.fsf@tiger.rapttech.com.au \
    --to=timx@spamto.devnul.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.