PLSQL到目前为止只有32位的程序,而大多数的桌面系统基本都是使用64位的Windows操作系统,在64位的Windows上,大多数情况下也是安
1、问题
PLSQL到目前为止只有32位的程序,而大多数的桌面系统基本都是使用64位的Windows操作系统,在64位的Windows上,大多数情况下也是安装64位的Oracle client程序,这种组合,导致plsql无法识别到ORACLE_HOME目录,读取不到tnsnames.ora文件中的连接串
2、解决方案
2.1 在Windows上配置ORACLE_HOME环境变量
右击“我的电脑”点击”属性“菜单,进入”系统属性“对话框,选择”高级“标签,点击“环境变量”,在用户变量框区域,新建一个名为‘ORACLE_HOME的变量名,根据自己的ORACLE实际安装目录填写其值,例如,笔者的环境的ORACLE_HOME的值为” C:\oracle\product\12.1.0\dbhome_1”
2.2 引用instantclient-basic-win32-10.2.0.5
将instantclient-basic-win32-10.2.0.5.zip文件解压,压缩后的文件,复制到PLSQL Developer安装目录的product目下,如C:\oracle\product\,最终instantclient的目录为C:\oracle\product\C:\oracle\product\instantclient-basic-win32-10.2.0.5\instantclient_10_2
instantclient-basic-win32-10.2.0.5.zip文件,笔者已上传到“系统性能优化专业群”群共享中供各位下载。
2.3 在PLSQL中配置ORACLE_HOME与OCI库
2.3.1 配置ORACLE_HOME
在PLSQL主菜单上点击Tools,选择Preferences子菜单,进入“首选页”对话框,在“连接”选项卡的右侧,找到“Oracle主目录名(自动检测为空)”,在该框中填写ORACLE的HOME目录名,如:“C:\oracle\product\12.1.0\dbhome_1”
2.3.2 配置OCI库
在PLSQL主菜单上点击Tools,,选择Preferences子菜单,进入“首选页”对话框,在“连接”选项卡的右侧,找到“OCI库(自动检测为空)”,在该框中填写oci.dll文件的绝对路径,如:“C:\oracle\product\instantclient-basic-win32-10.2.0.5\instantclient_10_2\oci.dll”
3、结果
上述四步配置完成后,重启PLSQL,就可以识别ORACLE_HOME,并能找到ORACLE客户端tnsnames.ora文件中的数据库连接串了。
Oracle 10g 安装后重启系统,用PLSQL连接报没有监听
ORA-03114 PLSQL过程编译断开连接错误
PLSQL 连接 Oracle简单配置
PLSQL批量Forall操作性能提升详解
使用Oracle SQLDeveloper连接数据库并创建用户
Oracle自带的PL/SQL Developer导入导出数据
在64位Win7系统下安装Oracle 11g和Oracle SQL Developer客户端
本文永久更新链接地址:

MySQLviewshavelimitations:1)Theydon'tsupportallSQLoperations,restrictingdatamanipulationthroughviewswithjoinsorsubqueries.2)Theycanimpactperformance,especiallywithcomplexqueriesorlargedatasets.3)Viewsdon'tstoredata,potentiallyleadingtooutdatedinforma

ProperusermanagementinMySQLiscrucialforenhancingsecurityandensuringefficientdatabaseoperation.1)UseCREATEUSERtoaddusers,specifyingconnectionsourcewith@'localhost'or@'%'.2)GrantspecificprivilegeswithGRANT,usingleastprivilegeprincipletominimizerisks.3)

MySQLdoesn'timposeahardlimitontriggers,butpracticalfactorsdeterminetheireffectiveuse:1)Serverconfigurationimpactstriggermanagement;2)Complextriggersincreasesystemload;3)Largertablesslowtriggerperformance;4)Highconcurrencycancausetriggercontention;5)M

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

Adding MySQL users through the PHP web interface can use MySQLi extensions. The steps are as follows: 1. Connect to the MySQL database and use the MySQLi extension. 2. Create a user, use the CREATEUSER statement, and use the PASSWORD() function to encrypt the password. 3. Prevent SQL injection and use the mysqli_real_escape_string() function to process user input. 4. Assign permissions to new users and use the GRANT statement.

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters


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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

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

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

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

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
