English 中文(简体)
clql 链接或分析数据库
原标题:clsql connect oracle database

我正在对<代码>clsql采取某种做法。 因此,我要把我的器具服务器连接起来,因此我的连接功能是:

(联接(“192.168.2.3”“xe”“用户名”“密码”):数据库类型:ora/代码>

当返回时,以下错误信息显示了这一点。

Couldn t load foreign libraries "libclntsh", "oci". (searched *FOREIGN-LIBRARY-SEARCH-PATHS*) [Condition of type SIMPLE-ERROR]

我已经安装了oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm

并界定了<条码>出口限值_LIBRaire_PATH=/usr/lib/oracle/11.2/client/lib

因此,我应该怎样把服务器连接起来?

问题回答

我在 late子玩 late,发现大家都需要把条条条码到<>libclntsh,到/etc/ld.conf.d/oracle.conf

我的布局是紧接着的(红色高潮、重力):从矿石中下载。

oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
install via rpm -ivh oracle*.rpm

创建文件/etc/ld.so.conf.d/oracle.conf:

然后,ldconfig

现在作为<代码>clql-oracle不在<代码>quicklisp上,我下载并摘录了<编码>clsql-6.6.2。

(require "asdf")
(push #P"/opt/jeff/clsql-6.6.2/" asdf:*central-registry*)
(asdf:load-system :clsql-oracle)
(defparameter *some-db* (connect  ("127.0.0.1:1521/db1" "SOME_USER_RO" "*******") :database-type :oracle))

和沃伊拉公司。

与Oracle libs(C/C++,即C/C++)有动态联系,我去做的一件事是,校正。 下面的号()就是这样共同的物体。 因此,你可能需要在同一名录中建立软联系,确保软链接名称只是平衡。 ......





相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

Connecting to Oracle 10g with ODBC from Excel VBA

The following code works. the connection opens fine but recordset.recordCount always returns -1 when there is data in the table. ANd If I try to call any methods/properties on recordset it crashes ...

How to make a one to one left outer join?

I was wondering, is there a way to make a kind of one to one left outer join: I need a join that matches say table A with table B, for each record on table A it must search for its pair on table B, ...

Insert if not exists Oracle

I need to be able to run an Oracle query which goes to insert a number of rows, but it also checks to see if a primary key exists and if it does, then it skips that insert. Something like: INSERT ALL ...

How can I store NULLs in NOT NULL field?

I just came across NULL values in NOT-NULL fields in our test database. How could they get there? I know that NOT-NULL constraints can be altered with NOVALIDATE clause, but that would change table s ...

Type reference scope

I m studying databases and am currently working on a object-relational DB project and I ve encountered a small problem with the number of possible constraints in an object table. I m using "Database ...

OracleParameter and DBNull.Value

we have a table in an Oracle Database which contains a column with the type Char(3 Byte). Now we use a parameterized sql to select some rows with a DBNull.Value and it doesn t work: OracleCommand ...

热门标签