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

推荐订阅源

V
Vulnerabilities – Threatpost
U
Unit 42
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
F
Full Disclosure
月光博客
月光博客
Engineering at Meta
Engineering at Meta
博客园_首页
The Register - Security
The Register - Security
G
Google Developers Blog
The Cloudflare Blog
博客园 - Franky
K
Kaspersky official blog
A
Arctic Wolf
Scott Helme
Scott Helme
C
Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
NISL@THU
NISL@THU
AI
AI
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Vercel News
Vercel News
T
Tor Project blog
P
Privacy International News Feed
D
Docker
I
Intezer
L
LangChain Blog
P
Proofpoint News Feed
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
博客园 - 聂微东
AWS News Blog
AWS News Blog
Martin Fowler
Martin Fowler
P
Privacy & Cybersecurity Law Blog
V
V2EX
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
The Hacker News
The Hacker News
T
Tenable Blog
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog

博客园 - 丁焕轩

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;