one,
cannot load OCI DLL, 126
Solution: Tools->Options->OCI select oci.dll in bin under oracle installation directory
Second, Oracle 11g R2 is installed under Win7. When using Navicat to connect to Oracle, the following error is prompted:
Cannot load OCI DLL, 126: Instant Client package is required for Baic and TNS connection
For more information: http://wiki.navicat.com/wiki/index.php/Instant_client_required
Looking at the above link, we found that Navicat only supports 32-bit instant client. Therefore, although we installed 64-bit Oracle, since Navicat only supports 32-bit, we also need to download a 32-bit client. Download address: http https://www.oracle.com/technetwork/topics/winsoft-085727.html. Here is the complete solution:
1: Download the file at the above address: instantclient-basic-nt-11.2.0.3.0.zip
2: Unzip the installation package and merge the unzipped files into: D:appuserproductinstantclient_11_2
3: Open Navicat, select Tools→Options→Other→OCI, and then set the OCI library to: D:app\user\product\instant\client_11_2\oci.dll,
Set SQL *plus to: D:app\user\product\11.2.0\dbhome_1\BIN\sqlplus.exe. Sure.
4: The test is successful.