PL / SQL connection step mysql

 The following will be PL / SQL configuration explain.

   First, after the installation of the Oracle client, let's configure the installation directory C: \ ORACLE \ instantclient_11_2 \ NETWORK \ ADMIN tnsnames.ora file, as follows:

    

To modify its configuration name =
(the DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = server IP) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = server service name)
)
)

Second, set the environment variable

              NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK
        TNS_ADMIN = G:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN

       If before the variable is not set, then the query time will not display Chinese correctly; directory is the directory variables behind the tnsnames.ora file is located, so PL / SQL can find this file correctly!

       Next, open the PL / SQL, this screen appears:

 

Click the Database drop-down box, select the database found that the situation does not appear, which indicates that the configuration has not been completed.

       So first we click the Cancel button, and then click Tools -> Preferences -> Connection, like this chart as below.

     

 

Oracle home directory under the installation folder settings

 

After you configure the start pl / sql

 

Guess you like

Origin www.cnblogs.com/topguntopgun/p/11117193.html