SQL*Plus 18c 可以连接到 Oracle Database Exadata Express Cloud Service。使用 Oracle Wallet(可从数据库服务下载)加强网络安全。
对于其他平台,请使用 Oracle Instant Client 页面中的链接下载。有关任何所需更新,请查看支持说明 2183770.1。
可以使用较小的“basiclite”程序包来取代“basic”。较小的程序包仅包含英语错误消息,支持 Unicode、ASCII 和西欧语言字符集。
C:\instantclient_18_5 or /home/myuser/instantclient_18_5.On Windows, add C:\instantclient_18_5 to the PATH variable in the "System variables" section of the Environment Variables pane. On Windows 8 this can be accessed by navigating to Control Panel>System>Advanced System Settings>Environment Variables. If you have multiple versions of Oracle libraries installed, make sure the new directory occurs first in the path.
cd /home/myuser/instantclient_18_5
ln -s libclntsh.so.18.1 libclntsh.so
And set the library and executable paths:
export LD_LIBRARY_PATH=/home/myuser/instantclient_18_5:$LD_LIBRARY_PATH
export PATH=/home/myuser/instantclient_18_5:$PATH
Instead of setting LD_LIBRARY_PATH, you could create an ldconfig configuration file
if there is no other Oracle software that will be impacted:
sudo sh -c "echo /home/myuser/instantclient_18_5 > /etc/ld.so.conf.d/oic.conf"
sudo ldconfig
还可以使用 Linux“sqlplus”和“basic”RPM。使用这两个程序包,就无需创建 libclntsh.so 符号链接。
client_credentials.zip,这将允许客户端访问您的云数据库。将此 zip 文件保存到安全位置。network 和 network/admin 子目录(如果不存在),然后在其中解压缩客户端凭据。例如,解压缩 wallet,则文件位于该目录中。
C:\instantclient_18_5\network\admin, /home/myuser/instantclient_18_5/network/admin
or /usr/lib/oracle/18.5/client64/lib/network/admin确保文件的安全,以便只有获得授权可以连接到 Exadata Express 服务的用户可以访问这些文件。默认情况下,Oracle 建议仅将权限授予文件所有者。
TNS_ADMIN 环境变量设置为该目录名称。 sqlplus cj@dbaccess如需创建用户,请参阅创建数据库模式。
注:为免疑义,本网页所用以下术语专指以下含义: