PLSQL developer cannot log on after oraclex64 is installed in win7x64

Source: Internet
Author: User

PLSQL uses 64-bit OCI. dll, while PLSQL uses 32-bit OCI. dll. An error occurs.

The solution is as follows:

1, to the Oracle official website to download Oracle instantclient (: http://download.oracle.com/otn/nt/instantclient/112010/instantclient-basic-win32-11.2.0.1.0.zip), my database installed is 11.2.0.1.0, so the download instantclient is also 11.2.0.1.0 version. Decompress the downloaded file to the installation directory of Oracle. For example, in the D: \ oracle \ product directory, there is also a folder 11.2.0, named instantclient ,, and add the directory to the system's environment variable path.

2. Open PLSQL and cancel logon.ProgramIn the preference, find connection settings, set ORACLE_HOME and oci_library, ORACLE_HOME to the path of the instantclient folder, and oci_library to the OCI. dll file under the instantclient directory. Disable PLSQL.

3. Copy the tnsnames. ora file in the dbhome_1 \ Network \ ADMIN directory to the instantclient directory and add tns_admin = D: \ oracle \ product \ 11.2.0 \ instantclient to the environment variable.

4. Open PLSQL again and display the previously configured Oracle service name in the database. PLSQL can be used normally.

Some people on the Internet still need to modify the registry or use bat to start PLSQL for Oracle character sets. This operation is not performed during my operations, and Chinese characters in the database can be used normally, it is estimated that the higher version of PLSQL solves the character set problem. I am using plsql9.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.