远程连接到 Windows Server 2012 上的 Oracle DB,远程连接到 VMWare 上的 运行
Connect to Oracle DB on Windows Server 2012, running on VMWare, remotely
我目前 运行正在 VMWare Player 中安装 Windows Server 2012 和 Oracle Database 12c Enterprise。
我需要从外部连接到上述数据库,例如使用我的主机 OS 到 运行 脚本而不在 VM 本身上开发。我该怎么做?
我们将不胜感激任何帮助;谢谢。
致所有在这里跌跌撞撞的人;修复很简单。
第 1 步:确保您有 lsnrctl
运行.
步骤 2:使用 ipconfig
.
查找 VM 的 IP 地址
步骤 3:使用连接字符串访问您的 Oracle 数据库:
username/password@ip_addr:1521/db_name
1521 可以更改为您正在使用的任何端口。
我目前 运行正在 VMWare Player 中安装 Windows Server 2012 和 Oracle Database 12c Enterprise。
我需要从外部连接到上述数据库,例如使用我的主机 OS 到 运行 脚本而不在 VM 本身上开发。我该怎么做?
我们将不胜感激任何帮助;谢谢。
致所有在这里跌跌撞撞的人;修复很简单。
第 1 步:确保您有 lsnrctl
运行.
步骤 2:使用 ipconfig
.
步骤 3:使用连接字符串访问您的 Oracle 数据库:
username/password@ip_addr:1521/db_name
1521 可以更改为您正在使用的任何端口。