当前位置:网站首页>Navicat premium connecting to Oracle database (Graphic tutorial)
Navicat premium connecting to Oracle database (Graphic tutorial)
2022-06-22 15:57:00 【Let it be~】
Navicat premium Is a database management tool , Is a multi - connection database management tool , It allows you to connect to at the same time as a single program MySQL、SQLite、Oracle And PostgreSQL database , Make it more convenient to manage different types of databases .
One 、 Software that needs to be prepared
1.Navicat premium 32 position
Official download address :http://www.navicat.com.cn/products/navicat-premium
2.Instant Client12.1.0.2.0 32 position
Instant Client yes Oracle The company's compact client .
32 Bit download address :http://www.oracle.com/technetwork/topics/winsoft-085727.html
Be careful : Regardless of your Navicat yes 32 It's still 64 Bit , Yours Instant Client You have to download 32 Bit , because Navicat Only support 32 Bit client .
Two 、 Installation configuration
1. decompression Instant Client To
F:\gome\instantclient_12_1
2. To configure Navicat premium Of oci
Navicat Premium By default, it comes with instantclient_10_2, But it's base lite Version of (Basic Lite: Basic Reduced version of , Only English error messages and Unicode、ASCII And the Western European character set Support ), Chinese character set is not supported , The server side in this article oracle It happens to be the Chinese character set ,instantclient_10_2 Not suitable for , So you need to download base edition .
take Navicat Premium Medium OCI library Set to F:/gome/instantclient_12_1/oci.dll, And then restart to take effect .
3、 ... and 、 Connect Oracle
1. open Navicat Premium, Click Connect to select Oracle

2. Fill in connection information
Navicat Premium in oracle There are two types of connections :Basic and TNS.
stay Basic In the pattern , adopt Oracle Call Interface (OCI) Connect Oracle.OCI Is an application interface , Let program developers use the original process or function call of the third generation language to access Oracle Database and control all SQL The stage in which the statement runs .OCI Is a standard database access library and dynamic link library form retrieval function .Basic The mode requires a hostname or IP Address 、 Port and service name or SID.
stay TNS In the pattern , Need to be used in tnsnames.ora The alias items in the file pass through Oracle Call Interface (OCI) Connect Oracle The server .TNS The mode only needs to select the network service name , But you need to create a new one before tnsnames.ora, And configure the database service .
It is recommended to use more concise Basic Pattern , It can eliminate the complicated tnsnames To configure . In this paper, we use Basic Pattern .
Below “ make new connection ” Interface , Enter the connection name 、 Connection type 、 Host name or IP Address 、 port 、 Service name or SID、 User name and password , Click OK to connect to the database .

Click connect test , Prompt that the test is successful , Prove that the connection was successful !

3、 ... and 、 The problem summary
The above describes the connection steps when the connection is successful , There are also some problems in the connection process , Let's summarize these problems :
1. problem 1:ORA-12737:Instant Client Light:unsupported server character set ZHS16GBK

The problem is to use Navicat Self contained instantclient_10_2 Caused by the . The self-contained ones are Basic Lite Version of instantclient.
Basic Lite:Basic Reduced version of , Only English error messages and Unicode、ASCII And Western European character set support
Basic: function OCI、OCCI and JDBC-OCI All the files required by the application , Contains the Chinese character set . The solution is to change Basic Version of instantclient.
2. problem 2:only compatible with oci vers and higherion 8.1 and higher
Reference blog :Navicat Connect oracle, appear Only compatible with oci version 8.1 and&nb_tfy1332 The blog of -CSDN Blog
3. problem 3:Cannot load OCI DLL,193
This is because Navicat Version and Navicat Premium It's caused by inconsistencies , because Navicat Premium Only support 32 Bit Instant Client, Check to see if what you downloaded 32 Bit Instant Client.
边栏推荐
猜你喜欢

【一起上水硕系列】Day Three - video

关于 GIN 的路由树

pymssql模块使用指南

MongoDB在腾讯零售优码中的应用

ArcGIS JS之 4.23之IIS本地部署与问题解决

基于最小化三维NDT距离的快速精确点云配准
![[Newman] postman generates beautiful test reports](/img/5c/b95c1c475e69d69acad75215ea9565.png)
[Newman] postman generates beautiful test reports
The MIHA tour club in June is hot! 500+ posts, more than HC, just this summer (with internal promotion method)

Sdvo:ldso+ semantics, direct French Slam (RAL 2022)

mysql如何修改存储引擎为innodb
随机推荐
uni开发微信小程序自定义相机自动检测(人像+身份证)
快速排序quick_sort
Common operations in Visual Studio development
How to use the concat() function of MySQL
Jenkins 通过检查代码提交自动触发编译
nvarchar和varchar的区别
类似attention nlp
High precision calculation
How can ordinary people make 1million yuan a year?
Wechat applet avatar pendant production
2020年蓝桥杯省赛真题-走方格(DP/DFS)
关于 GIN 的路由树
[Newman] postman generates beautiful test reports
Scala语言学习-04-函数作为参数传入函数-函数作为返回值
Yilian technology rushes to Shenzhen Stock Exchange: annual revenue of RMB 1.4 billion, 65% of which comes from Ningde times
Self inspection is recommended! The transaction caused by MySQL driver bug is not rolled back. Maybe you are facing this risk!
Rosbag使用命令
(pytorch advanced path 2) word embedding and position embedding
做自媒体视频博主,必备的32个素材网站分享
#进程地址空间