all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Corey Foote" <coreyfoote@hotmail.com>
Subject: MySQL exits abnormally in Emacs
Date: Thu, 14 Dec 2006 16:11:29 -0500	[thread overview]
Message-ID: <BAY128-F12117D879D4693A79D0356DAD50@phx.gbl> (raw)

Hello everyone,

I'm a newbie user to MySQL, and I'm trying to learn how to run an
interactive SQL session through Emacs. I'm using GNU Emacs 22.0 and
MySQL 5.0 under Windows XP.

After typing the following:

1. M-x sql-mysql
2. User: myusername RET
3. Password: mypassword RET
4. Database: mydatabase RET
5. Server: localhost RET

I type my query and press C-c C-c and get the following error:

select now();  C-c C-cnow()
2006-12-14 14:11:25

Process SQL exited abnormally with code 1

It gives the correct result, but the process "exits abnormally" and then
I can't type in any further queries without going through steps 1-5
again. It does not give me this problem when I'm using the terminal
window.

Also, nothing happens when I simply type my query and press RET. It
seems I have to type C-c C-c in order to get any results.

Any solutions you could offer would be most appreciated. I'd much
rather stay in Emacs to work with SQL, rather than having to jump back
and forth to the terminal window.

Thank you for your help,

Corey Foote
coreyfoote@hotmail.com

_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces 
friends module. 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk

             reply	other threads:[~2006-12-14 21:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 21:11 Corey Foote [this message]
2006-12-15 18:16 ` MySQL exits abnormally in Emacs Juanma Barranquero
2006-12-16  3:37   ` Corey Foote
2006-12-16  3:42     ` Juanma Barranquero
2006-12-16  4:28       ` Corey Foote
2006-12-16  4:44         ` Juanma Barranquero
     [not found] <mailman.1953.1166243333.2155.help-gnu-emacs@gnu.org>
2006-12-16  8:26 ` Tim X

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=BAY128-F12117D879D4693A79D0356DAD50@phx.gbl \
    --to=coreyfoote@hotmail.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.