oracle11 客户端安装及PLSQL和TOAD中文乱码
http://wanwentao.blog.51cto.com/2406488/456195 oracle11 客户端安装及PLSQL和TOAD中文乱码 1.从Oracle官方下载 “Instant Client Package”的软件,较好的实现了Oracle客户端绿化的解决方案。 下载地址为:http://www.oracle.com/technology/software/tec
http://wanwentao.blog.51cto.com/2406488/456195
oracle11 客户端安装及PLSQL和TOAD中文乱码
1.从Oracle官方下载“Instant Client Package”的软件,较好的实现了Oracle客户端绿化的解决方案。
下载地址为:http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
可下载的程序包有:
下载程序包:
instantclient-basic-win32-11.2.0.1.0.zip (目前最新版)
2.解压到安装目录,例如:D:\Program Files\下,然后在这个目录下建立D:\Program Files\instantclient_11_2\下建network\admin 两层文件夹,然后在admin内建立 tnsnames.ora文件,
输入格式如下:
OWEN_192.168.2.35 =192.168.2.35:1522/owen
这里的1522 为oracle 的监听端口,如果你不确定你的oracle 的监听端口是多少,你最好在服务器是用
lsnrctl status 命令来看一下。
这里根据自己的实际情况进行修改,注意中间的空格问题,如果空格多了或少了都会出现错误的。
其实这里的第二步中的建network\admin 两层文件夹,然后在admin内建立 tnsnames.ora文件,不是必须要做的。这样做,只是为了方便登录。
3.配置系统的环境变量
在 Path 变量值最前面写上: D:\Program Files\instantclient_11_2; 或者在最后面加上:;D:\Program Files\instantclient_11_2
并新建变量:变量名为:oracle_home 变量值为:D:\Program Files\instantclient_11_2
4.安装 PLSQL Developer 7.1或其它版本吧。注意安装时不要安装在带“(x86)”的目录内,容易出错。
5.运行“PLSQL Developer”吧,连接一下试试,正常情况下就可以连接成功了。
处理PLSQL Developer连接后出现乱码情况
问题描述:使用Oracle绿色版客户端连接到其它Oracle数据库后,查询出来的信息出现乱码情况。
解决方法:
6.打开 PLSQL Developer 安装目录下,看到有PLSQLDev.exe的目录,
在PLSQL Developer文件夹内新建“PLSql_run.bat”文件,在该文件中输入下面内容:
---------------------------------------------------------------------------------------------
set nls_lang=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
PLSQLDev.exe
---------------------------------------------------------------------------------------------
7.每次启动时请使用"PLSql_run.bat"文件进行启动PLSQL Developer工具,否则出现乱码。
8.TOAD的中文乱码解决方法
设置环境变量nls_lang,变量值: AMERICAN_AMERICA.US7ASCII
运行不成功的检查方法:
1.连接不成功,请查网络和服务器防火墙之类的。
2.打开“PLSQL Developer”后,点“取消”,进入到PLSQL Developer软件的
Tools/preferences窗口内,再进入 Oracle/Connection中,修改内容如下:
Oracle Home 中输入:D:\ORA10
OCI library 中输入:D:\ORA10\oci.dll
再连接的试试吧。
--------------------------------------------------------------------------------------------------
中文乱码解决:
在我的电脑上右键属性--高级系统设置--高级--环境变量,新建用户变量:变量名:NLS_LANG
变量值:AMERICAN_AMERICA.UTF8

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Call of Duty Warzone is a newly launched mobile game. Many players are very curious about how to set the language of this game to Chinese. In fact, it is very simple. Players only need to download the Chinese language pack, and then You can modify it after using it. The detailed content can be learned in this Chinese setting method introduction. Let us take a look together. How to set the Chinese language for the mobile game Call of Duty: Warzone 1. First enter the game and click the settings icon in the upper right corner of the interface. 2. In the menu bar that appears, find the [Download] option and click it. 3. Select [SIMPLIFIEDCHINESE] (Simplified Chinese) on this page to download the Simplified Chinese installation package. 4. Return to the settings

If you have successfully downloaded the installation file of Baidu Netdisk, but cannot install it normally, it may be that there is an error in the integrity of the software file or there is a problem with the residual files and registry entries. Let this site take care of it for users. Let’s introduce the analysis of the problem that Baidu Netdisk is successfully downloaded but cannot be installed. Analysis of the problem that Baidu Netdisk downloaded successfully but could not be installed 1. Check the integrity of the installation file: Make sure that the downloaded installation file is complete and not damaged. You can download it again, or try to download the installation file from another trusted source. 2. Turn off anti-virus software and firewall: Some anti-virus software or firewall programs may prevent the installation program from running properly. Try disabling or exiting the anti-virus software and firewall, then re-run the installation

Excel spreadsheet is one of the office software that many people are using now. Some users, because their computer is Win11 system, so the English interface is displayed. They want to switch to the Chinese interface, but they don’t know how to operate it. To solve this problem, this issue The editor is here to answer the questions for all users. Let’s take a look at the content shared in today’s software tutorial. Tutorial for switching Excel to Chinese: 1. Enter the software and click the "File" option on the left side of the toolbar at the top of the page. 2. Select "options" from the options given below. 3. After entering the new interface, click the “language” option on the left

Installing Android applications on Linux has always been a concern for many users. Especially for Linux users who like to use Android applications, it is very important to master how to install Android applications on Linux systems. Although running Android applications directly on Linux is not as simple as on the Android platform, by using emulators or third-party tools, we can still happily enjoy Android applications on Linux. The following will introduce how to install Android applications on Linux systems.

VSCode Setup in Chinese: A Complete Guide In software development, Visual Studio Code (VSCode for short) is a commonly used integrated development environment. For developers who use Chinese, setting VSCode to the Chinese interface can improve work efficiency. This article will provide you with a complete guide, detailing how to set VSCode to a Chinese interface and providing specific code examples. Step 1: Download and install the language pack. After opening VSCode, click on the left

While studying in high school, some students take very clear and accurate notes, taking more notes than others in the same class. For some, note-taking is a hobby, while for others, it is a necessity when they easily forget small information about anything important. Microsoft's NTFS application is particularly useful for students who wish to save important notes beyond regular lectures. In this article, we will describe the installation of Ubuntu applications on Ubuntu24. Updating the Ubuntu System Before installing the Ubuntu installer, on Ubuntu24 we need to ensure that the newly configured system has been updated. We can use the most famous "a" in Ubuntu system

If you have used Docker, you must understand daemons, containers, and their functions. A daemon is a service that runs in the background when a container is already in use in any system. Podman is a free management tool for managing and creating containers without relying on any daemon such as Docker. Therefore, it has advantages in managing containers without the need for long-term backend services. Additionally, Podman does not require root-level permissions to be used. This guide discusses in detail how to install Podman on Ubuntu24. To update the system, we first need to update the system and open the Terminal shell of Ubuntu24. During both installation and upgrade processes, we need to use the command line. a simple

Tips for solving Chinese garbled characters written by PHP into txt files. With the rapid development of the Internet, PHP, as a widely used programming language, is used by more and more developers. In PHP development, it is often necessary to read and write text files, including txt files that write Chinese content. However, due to encoding format problems, sometimes the written Chinese will appear garbled. This article will introduce some techniques to solve the problem of Chinese garbled characters written into txt files by PHP, and provide specific code examples. Problem analysis in PHP, text
