Mac OS X 上的 Oracle 11g

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/29649699/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 02:48:56  来源:igfitidea点击:

Oracle 11g on Mac OS X

oraclemacosoracle11g

提问by tonymx227

I need to install Oracle Database on Mac OS X. I recently developped a NodeJS application using MySQL and now, I need this one to be compatible with Oracle, this is why I need Oracle Database on my Mac OS X, I will developped the Oracle version of the application...

我需要在 Mac OS X 上安装 Oracle 数据库。我最近使用 MySQL 开发了一个 NodeJS 应用程序,现在,我需要这个应用程序与 Oracle 兼容,这就是为什么我在 Mac OS X 上需要 Oracle 数据库,我将开发 Oracle应用程序版本...

What's the best way to install Oracle on Mac OS X?

在 Mac OS X 上安装 Oracle 的最佳方式是什么?

I tried to install Oracle using this page : http://www.oracle.com/technetwork/apps-tech/intel-macsoft-096467.html

我尝试使用此页面安装 Oracle:http: //www.oracle.com/technetwork/apps-tech/intel-macsoft-096467.html

Installed package : Version 11.2.0.4.0 (32-bit) Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications

安装包: Version 11.2.0.4.0 (32-bit) Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications

But it seem's not working because on my terminal I'm not able to execute sqlplus...

但这似乎不起作用,因为在我的终端上我无法执行sqlplus...

And is there a client interface for Oracle?

是否有用于 Oracle 的客户端界面?

Anthony

安东尼

回答by ik_zelf

There is no Oracle database server available on current macosx. The last Oracle version was 10.2.0.4, even a quick and incomplete 10.2.0.5 but that was years ago. Now we do have clients. See installation instructions for macosX

当前的 macosx 上没有可用的 Oracle 数据库服务器。上一个 Oracle 版本是 10.2.0.4,甚至是一个快速且不完整的 10.2.0.5,但那是几年前的事了。现在我们确实有客户。查看macosX 的安装说明

Currently there is also a java client that works pretty well but still is under development. De EA of sqlcl can be found here Oracle SQL Developer 4.1 EA2 (4.1.0.18.37), last update was yesterday.

目前还有一个运行良好但仍在开发中的 java 客户端。可以在此处找到 sqlcl 的 De EA Oracle SQL Developer 4.1 EA2 (4.1.0.18.37),上次更新是昨天。

If you really need an Oracle server, go for VirtualBox and create a Linux image for it to run Oracle-12 in. VirtualBox can be found here https://www.virtualbox.org/. For now, stay with OEL-6, that you can find here just pick V52218-01

如果您确实需要 Oracle 服务器,请使用 VirtualBox 并为其创建 Linux 映像以在其中运行 Oracle-12。VirtualBox 可在此处找到https://www.virtualbox.org/。现在,继续使用 OEL-6,您可以在这里找到,只需选择 V52218-01

回答by HAL 9000

These days it's very easy to spin up a complete Oracle server in Docker for Mac.

如今,在 Docker for Mac 中启动完整的 Oracle 服务器非常容易。

One image I found to be working very well is https://hub.docker.com/r/sath89/oracle-12c/

我发现运行良好的一张图片是https://hub.docker.com/r/sath89/oracle-12c/