From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Corey Foote" Newsgroups: gmane.emacs.help Subject: MySQL exits abnormally in Emacs Date: Thu, 14 Dec 2006 16:11:29 -0500 Message-ID: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1166205472 2651 80.91.229.10 (15 Dec 2006 17:57:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 17:57:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 18:57:49 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvHJZ-0007Sn-OC for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 18:57:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvHJZ-0004Ox-Cw for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 12:57:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Guxre-0007Y9-5x for help-gnu-emacs@gnu.org; Thu, 14 Dec 2006 16:11:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Guxra-0007Tk-15 for help-gnu-emacs@gnu.org; Thu, 14 Dec 2006 16:11:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuxrZ-0007Th-MC for help-gnu-emacs@gnu.org; Thu, 14 Dec 2006 16:11:33 -0500 Original-Received: from [65.54.246.139] (helo=bay0-omc2-s3.bay0.hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GuxrZ-0006Ci-ET for help-gnu-emacs@gnu.org; Thu, 14 Dec 2006 16:11:33 -0500 Original-Received: from hotmail.com ([65.55.133.92]) by bay0-omc2-s3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Thu, 14 Dec 2006 13:11:31 -0800 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 14 Dec 2006 13:11:31 -0800 Original-Received: from 65.55.133.123 by by128fd.bay128.hotmail.msn.com with HTTP; Thu, 14 Dec 2006 21:11:29 GMT X-Originating-IP: [68.32.38.248] X-Originating-Email: [coreyfoote@hotmail.com] X-Sender: coreyfoote@hotmail.com Original-To: help-gnu-emacs@gnu.org X-OriginalArrivalTime: 14 Dec 2006 21:11:31.0707 (UTC) FILETIME=[6DA724B0:01C71FC4] X-Mailman-Approved-At: Fri, 15 Dec 2006 12:57:01 -0500 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:39587 Archived-At: 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