Skip to Main Content
  • Questions
  • How to Login using Sqldeveloper.exe with connection on command line

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Mohsin.

Asked: June 13, 2020 - 9:21 pm UTC

Last updated: June 15, 2020 - 4:06 am UTC

Version: sqldeveloper 19C

Viewed 1000+ times

You Asked

I have a requirement to login to ORACLE DB with pre-entered username and password, I am using SQLdeveloper tool to connect to Oracle.

When I launch sqldeveloper.exe it must directly connect me to the Oracle database. What process arguments should I pass with this process?

I have tried

CMD>sqldeveloper.exe Username/Password@server:port:Service

Instead of connecting to the database, it opens worksheets in the tool, like for the above example it opens worksheets like username, password etc...

It launches Sqldeveloper tool but do not connects to the database

while I am able to connect through the command line using

CMD>sql.exe Username/Password@server:port:Service

and Connor said...

To my knowledge that facility does not exist, with the exception of using the command line tool SQLcl.

I will ask the SQL Dev people and come back with more information if I can get it.

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

You are correct...

pete, June 16, 2020 - 2:53 am UTC

To the best of anyone's knowledge this is not possible. This question has been asked - repeatedly - on Stack Exchange and was answered by Jeff Smith (SQL Developer product manager) here: https://stackoverflow.com/questions/24952519/open-sql-developer-from-command-line-with-parameters-connectstring-user-passw