4

I want to connect to the server with Emacs. I found this link : EmacsWiki:sqlPlus

I did what was described there and added the following lines to my .emacs file:

(require 'tabbar)
(require 'ide-skel)
(require 'sqlplus)

When I try to M-x - "sql-oracle" it asks me to enter "User: ", "Password: ", and "Database: ", but I don't know "database", all I have is this data:

IP (Host Name): #######
Port: ####
SID: orcl
UserName: ####
Password: ####

How can I make emacs ask me to fill only (and all of) this data?

1 Answer 1

3

You can connect to the Oracle using M-x sqlplus. Then you give a connection string like user/password@SID

If it doesn't work then try to connect to Oracle using sqlplus from the command prompt.

And check the file Tnsnames.ora.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.