From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "misskiss wang" Newsgroups: gmane.emacs.help Subject: Help for sql-oracle mode Date: Thu, 28 Feb 2008 14:06:38 +0800 Message-ID: <13fe51680802272206u6a482535s2e2b3263d2f73dec@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_186_13951102.1204178798050" X-Trace: ger.gmane.org 1204178837 7533 80.91.229.12 (28 Feb 2008 06:07:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 06:07:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 28 07:07:41 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JUbvh-0004Sv-4n for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Feb 2008 07:07:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUbvA-0006J5-TK for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Feb 2008 01:07:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUbuk-0006HK-Lj for help-gnu-emacs@gnu.org; Thu, 28 Feb 2008 01:06:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUbui-0006Fh-Qi for help-gnu-emacs@gnu.org; Thu, 28 Feb 2008 01:06:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUbui-0006FZ-J4 for help-gnu-emacs@gnu.org; Thu, 28 Feb 2008 01:06:40 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUbui-0007FK-47 for help-gnu-emacs@gnu.org; Thu, 28 Feb 2008 01:06:40 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so155938ugf.48 for ; Wed, 27 Feb 2008 22:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=37h+W+JplParLweqAYZKteMZAK43NBJE70IH5zhClao=; b=xVnpK8+0ATHqx3Y3gdo8HjVGAFXU5jcVZPx/NiqnFxovNzWrIKNJdCClViaMB9jTd9fNWD630uCI98S3A+4E6UvN4yunvBc2QzHtGn97yeriziF+kJMHU0Dbxv1vsFrhDsJiYY8Ipk4kphdCZgIQfsQPApyr97mk5iMzDL039X8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rPE4F3Smq+fq3HMzbOBhw2aoKNJP7D+OyGAK8Y7ZBTBJqDvlDLZ/Xi7RgsBxGN2fsnP+E1yz38N6+BBe7pSkr02STsCcIK5mYXliZKcUOs6JK6mKF+SJvXmY6FNrdehqHaEjiC+1oaL2M9rOXvgm4YHeP2ZupVfr2wgDZ+RnKQY= Original-Received: by 10.151.11.17 with SMTP id o17mr2594089ybi.51.1204178798037; Wed, 27 Feb 2008 22:06:38 -0800 (PST) Original-Received: by 10.150.202.7 with HTTP; Wed, 27 Feb 2008 22:06:38 -0800 (PST) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:51927 Archived-At: ------=_Part_186_13951102.1204178798050 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear Friends, I like to using sql-oracle in emacs, but now I met a problem: The database I logged on no need to input username and password, both fields are empty. If I ran M-x sql-oracle in emacs, and I press ENTER butter two times and then input Server string, for example like DB1, I got an error like this: *SQL*Plus: Release 10.2.0.2.0 - Production on Thu Feb 28 14:03:40 2008* *Copyright (c) 1982, 2005, Oracle. All Rights Reserved.* *Enter user-name: ERROR: ORA-12560: TNS:protocol adapter error* *Enter user-name: ERROR: ORA-12560: TNS:protocol adapter error* *Enter user-name: ERROR: ORA-12560: TNS:protocol adapter error* *SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus* *Process SQL exited abnormally with code 1* Is there any solution for this? Thanks a lot! Misskiss ------=_Part_186_13951102.1204178798050 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Dear Friends,
I like to using sql-oracle in emacs, but now I met a problem: The database I logged on no need to input username and password, both fields are empty. If I ran M-x sql-oracle in emacs, and I press ENTER butter two times and then input Server string, for example like DB1, I got an error like this:

SQL*Plus: Release 10.2.0.2.0 - Production on Thu Feb 28 14:03:40 2008

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.

Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error


Enter user-name:
ERROR:
ORA-12560: TNS:protocol adapter error


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

Process SQL exited abnormally with code 1

Is there any solution for this? Thanks a lot!

Misskiss

------=_Part_186_13951102.1204178798050--