前提: 1、安装 cx_oracle-4.1-win32-8i-py24.exe 到你的python/lib下,linux下 安装 cx_oracle-4.1-9i-py24-1.i386.rpm rpm -ivh --prefix=/usr/python/lib/python2.4/site-package xx.rpm cp cx_oracle.so /usr/python/lib/python2.4/site-packages 这个安装和oracle的版本关系比较大,安装根据怎么的环境安装。 2、>>import sys >>sys.path 看看python能找到否,如果提示没有找到,说明1安装时候选择不对。 3、测试 >>>>impo...
by victorxian - Python - 2006-07-19 15:25:01 阅读(2004) 回复(1)
在 Solaris8 Sparc 上面安裝 oracle817. .profile 如下: umask 022 PATH=/export/home/oracle/817:/export/home/oracle/817/bin:/usr/bin:/usr/ucb:/etc: /usr/ccs/bin:/usr/openwin/bin:/usr/local/bin oracle_HOME=/export/home/oracle/817 oracle_BASE=/export/home/oracle LD_LIBRARY_PATH=$oracle_HOME/lib ORA_NLS33=$oracle_HOME/ocommon/nls/admin/data NLS_LANG="TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5" oracle_SID=CB ...
在 Solaris8 Sparc 上面安裝 oracle817. .profile 如下: umask 022 PATH=/export/home/oracle/817:/export/home/oracle/817/bin:/usr/bin:/usr/ucb:/etc: /usr/ccs/bin:/usr/openwin/bin:/usr/local/bin oracle_HOME=/export/home/oracle/817 oracle_BASE=/export/home/oracle LD_LIBRARY_PATH=$oracle_HOME/lib ORA_NLS33=$oracle_HOME/ocommon/nls/admin/data NLS_LANG="TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5" oracle_SID=CB ...
我在创建数据库时,到创建数据文件的阶段就会报错: ORA-03114:CANNOT connect TO oracle? 这是为什么?
proc中connect oracle 执行完操作以后,是否需要close connect?如果需要,该怎么close呢?
proc中connect oracle 执行完操作以后,是否需要close connect?如果需要,该怎么close呢?
jbuilder2006 connect oracle10g download oracledriver for java http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html when setup the driver:ojdbc14.jar, in the Database Pilot can not load the the jdbc driver. solution Enterprise -> Enterprise Setup -> Database Drivers -> Add :ojdbc14.jar to modify the jbuilder system classpath. Remark it. It costs me so much time. ... 本文来自ChinaU...
我用下面的makefile在AIX机器上编译总是出现PCC-F-02104, Unable to connect to oracle。 我用sqlplus验证过用户可以登陆。 可以确定肯定是makefile文件出了问题。能帮忙看下错在哪里吗? [code]include ./env_precomp.mk TARGET=111 PROC_FILES = GFun_DB.pc PROC_CPP_FILES = $(PROC_FILES:.pc=.cpp) CPP_FILES=$(PROC_CPP_FILES) test.cpp OBJS =$(CPP_FILES:.cpp=.o) PROC_FLAGS= SQLCHECK=SEMANTICS userid=test/test@...
solaris64上安装oracle时,提示: $ ./runInstaller $ Initializing Java Virtual Machine from /tmp/OraInstall2003-09-25_01-58-20PM/jre/bin/java. Please wait... Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEn...
ERROR:
ORA-01034: oracle not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where
1.sqlplus /nolog 2.connect / as sysdba 错误出现: error: ora-01031:insufficient privileges 不知道什么原因,怎么解决?