惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
N
Netflix TechBlog - Medium
腾讯CDC
C
Check Point Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
S
SegmentFault 最新的问题
F
Fortinet All Blogs
美团技术团队
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
F
Full Disclosure
Recorded Future
Recorded Future
D
DataBreaches.Net
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
J
Java Code Geeks
I
InfoQ
Y
Y Combinator Blog
A
About on SuperTechFans
AI
AI
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Forbes - Security
Forbes - Security
W
WeLiveSecurity
M
MIT News - Artificial intelligence
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Schneier on Security
Schneier on Security
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Docker
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
V2EX - 技术
V2EX - 技术
Project Zero
Project Zero

博客园 - 丁焕轩

The SSL connection could not be established, see inner exception 错误 腾讯企业邮箱管理 万能五笔彻底删除,广告 C# 直接赋值 和 深拷贝 iis部署 访问 LINUX 基础 服务器无法从本地复制文件 修改引用api地图的样式,地图 程序用一段时间卡死、系统日志调试 博文阅读密码验证 - 博客园 sql server 常规问题 sql server 使用 elemenet 级联 博文阅读密码验证 - 博客园 utc时间戳 日期 转换 框架问题排查 FreeSql 使用说明 oracle 最简单连接 .net 增加 Swagger 解决跨域
oracle 服务器 客户端安装,配置
丁焕轩 · 2024-05-17 · via 博客园 - 丁焕轩

一、程序服务器连接oracle数据库服务器

1.安装客户端

出现上图,yes 下一步。

下图,最好不要放C盘。

 

2.配置 环境变量 配置NLS_LANG、ORACLE_HOME

ORACLE_HOME

注意:有时你可能会有多个client,如果安装多次可能就会有,一定要找到有network/admin/的那个。

 NLS_LANG

值设为如下内容,这样查出来的中文不会是乱码。需要重启服务器

AMERICAN_AMERICA.AL32UTF8

TNS:配置。

测试TNS是否配置好:test 为你的 SERVICE_NAME

  注意:有时你可能会有多个client,如果安装多次可能就会有,一定要找到有network/admin/的那个,然后将sample里面的tnsnames.ora复制出来。

tns 如下:

如果ping没有通,修改sqlnet.ora

 通了以后如下:

数据库连接:user id=你的用户名;data source=你的IP:1521/你的实例;password=你的密码;

sqlplus 登录检验是否正常连接

IP/域名  前有@
sqlplus 用户名/密码@IP/域名:1521/实例

报错如下(就是tns没有通):

ORA-28040: The database does not accept your client's authentication protocol;