Oracle sqldeveloper - 如何从命令行连接数据库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3883820/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Oracle sqldeveloper - how to connect DB from command line
提问by Ronen
I am writing a small DB utility. I would like to give the user the ability to open an instance of Oracle sqldeveloper directly from this utility. Is it possible to open Oracle sqldeveloper IDE that already connected to a specific DB?
我正在编写一个小型数据库实用程序。我想让用户能够直接从此实用程序打开 Oracle sqldeveloper 实例。是否可以打开已连接到特定数据库的 Oracle sqldeveloper IDE?
Something like sqldeveloper USERID/PASSWORD@DATABASE
类似于 sqldeveloper USERID/PASSWORD@DATABASE
回答by Anthony
/? works rather than /h. There are options to override the cofiguration file so whether you can do that or not is probably determined by the facilities offered by the config file.
/? 工作而不是 /h。有一些选项可以覆盖配置文件,因此您是否可以这样做可能取决于配置文件提供的功能。
回答by Kirill Leontev
It doesn't seem so. sqldeveloper.exe /h
shows us possible launch parameters, and none of them seem to have anything in common with your demand.
似乎不是这样。sqldeveloper.exe /h
向我们展示了可能的启动参数,它们似乎与您的需求没有任何共同之处。