Displaying 20 results from an estimated 1000 matches similar to: "php with OCI support"
2005 Dec 28
2
OCI/ODBC on Windows
I have been trying to connect to an Oracle database on a windows
machine. I succesfully ran a test program using ODBC to connect to
Oracle, but I am out of luck on doing this with rails.
I am unable to install the OCI Adapter on Windows and am trying to
figure it out. Meanwhile, if anyone could provide me with some pointers
or references, I would be grateful. I am finding it a bit difficult in
2013 Aug 29
3
ruby connect oracle problem
Hello folks.
I''m new in Ruby also ROR.
I installed oracle intant client and test it it works fine. Now I wanna
connect to oracle db. But its got some error. like this
*custom_require.rb:36:in `require'': cannot load such file -- oci8
(LoadError)*
my code is here.
require ''oci8''
oci =
2006 Mar 16
3
Connecting to Oracle8i
Hi All,
I have a problem in connecting to oracle and here is the steps i''ve been
going through (i''m using the regular oracle8 client, not the instant
one):
1. i installed the one-click ruby installer (ruby184-16p3 windows.exe)
2. i installed the rails-1.0.0 framework using gem successfully
3. i tried connecting to oracle using all possible combination in the
database.yml file
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2005 Jul 27
7
Oracle OCI8, or "am I going crazy?"
All of a sudden, on three different systems, the "server_ip_address/sid_name"
syntax in database.yml has stopped working for me.
I can''t even do a OCI8.new(blah blah blah) statement from an IRB shell.
I get "ORA-12541: TNS:no listener", or some variant, depending on how I phrase it.
On systems where I have a real deal client installed, and OCI can find the
tnsnames
2006 Apr 20
4
oci8 mac os x intel
Is rails + oci8 + mac os x intel a winning combination? It appears
that oci8 might be a issue.
2009 May 06
0
OCI Library Initialization Error
I am attempting to connect to ORACLE11g however i am getting the
following error:
"OCI Library Initialization Error"
IT always errors on OCIENV.init(). I cant see anything wrong on the ENV
configurations.
Has anyone had this problem, or any suggestions on where i should look
for anwers?
I am using the following gems:
ruby-oci8 (1.0.4)
activerecord-oracle-adapter (1.0.0.9250)
2009 Sep 16
12
Connecting to Oracle (Solaris Sparc 10)
My company''s System-admin installed Ruby and Gems (using Sun Coolstack
package) and I have sudo access to ruby, gem etc. Now I need to get my
app to talk to oracle db (through network).
From what I understand, it requires three steps:
Step 1: Install oracle instant client ( I installed it in my ~/oracle/
instantclient_11_1)
Step2: Install OCI8 libraries (this is where I am stuck). Here is
2009 Apr 14
1
Oracle oci8 => OCIError: OCI Library Initialization Error
I''m trying to get ActiveRecord working with an Oracle DB over the
instant client.
On a 32bit machine, I can require ''oci8'':
Linux xxx.xxx.xxx.xxx 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 5 04:52:17 EST
2009 i686 i686 i386 GNU/Linux
irb(main):001:0> require ''oci8''
=> true
However, on a 64bit machine:
Linux xxx.xxx.xxx.xxx 2.6.18-128.1.6.el5 #1 SMP Tue
2007 Nov 02
3
ruby-oci8 build fails
I''m trying to build the ruby-oci8 with the Oracle Instant Client on OS
X. The Instant Client works, and the make seems to be ok with it up
until OCIInitialize(). Anybody got this to work?
[relevant output]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /
Users/dmholmes/Desktop/ruby-oci8-1.0.0-rc2/ext/oci8/extconf.rb
checking for load library path...
2008 Apr 04
1
Oracle connection problem
ORA-12154: TNS:could not resolve the connect identifier specified
I''ve updated rails to 2.0.2 and I start having a problem with oracle
connection.
I installed activerecord-oracle-adapter, and changed oci to oracle in
database.yml but I keep getting the oracle error
ORA-12154: TNS:could not resolve the connect identifier specified
Can someone help me with this problem?
Thanks.
--
2005 Jul 27
1
Problem connection to oracle
hi
I have the latest rails version and would like
to connect to an Oracle 9 database:
this is my code:
=========
ActiveRecord::Base.establish_connection(
:adapter => "oci",
:host => "host",
:username => "user",
:port => 1888,
:password => "passwd",
:database => "tmp1"
)
class
2008 Jul 21
1
OCI
Am running centos5 , I want to compile my apache with php to support the
following
'./configure' '--with-apxs2=/usr/local/apache/bin/apxs'
'--with-mysql=/usr/local/mysql' '--with-zlib-dir=/usr/lib/'
'--enable-versioning' '--enable-track-vars=yes'
'--enable-url-includes--enable-sysvshm=yes' '--enable-sysvsem=yes'
2006 Jun 12
3
AMD64 + Debain + rails + Oracle ?
Hi folks,
Does anyone know how to install the OCI8 ruby interface on Debian64
without having to install Oracle?
My understanding, from experience with Debian i386, is that you need
Oracle (specifically the SQLPlus) installed to be able to compile
OCI8. Since my new dev machine is AMD64 running Debian, I''m stuck.
My rails applications need to connect to a remote Oracle 10g, but
cannot
2010 Dec 15
3
ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIEr
Hi I am a new to ROR and learning this framework from various tutorials.
I have my new application and had the rails generate scaffold get going
but after this when I first ran the rake db:migrate I got this ERROR!
ORA-12514:
TNS:listener d
oes not currently know of service requested in connect descriptor
(OCIError)
I''m using database which is on a server and have used the tnsnames.ora
2006 Aug 17
0
OCI.DDL (module could not be loaded)
Hi guys,
I had a problem in connecting oracle DB through ROR application. It
says OCI.DDL (module could not be loaded) while running the webrick
server.
I have installed the ruby-oci-0.1.13-mswin.rb.While searching in net I
found saying to copy OCI.DDL in system32 folder but Still i faced the
same problem of not able to start the webrick server.
Can anyone help me out to give me a
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
Hello all. I am a novice Ruby on Rails programmer, starting my first
project using a legacy Oracle 10 database. Using ''reverse_scaffold'' I
have created the models/controllers/views for my existing Oracle
tables.
All seems to work well, using /model/index, /model/show for most of my
tables, *except* when one of the tables contains a Oracle ''date''
column, for
2006 Feb 27
5
Database connections...so many connections!
Hello all.
I am currently running a very simple ruby app. It connects to an Oracle
server using the OCI8 adapter.
I have two controllers, each one connects to a different schema on the
server, I looked at the WIKI that had details of multiple database
connections
(http://wiki.rubyonrails.com/rails/pages/HowtoUseMultipleDatabases), I
moved the code from the application controller into each
2006 Mar 10
14
Oracle Date type errors rails on edit
I have a table with "expires_on" a DATE field.
"Show" and "Destroy" work, but "Edit" errors:
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:150:in
`select_hour''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:149:in
`select_hour''
It only happens when
2006 Mar 31
1
Oracle 8 to 9 strange performance issue
Hello,
Got Ruby 1.8.2, RAILS 1.0, Windows2kx and Ruby-OCI8.mswin (1.1.3)
I try a migration test drive for one legacy DB from an original Ora
win32 8.1.7 server to a better hardware running Win32 Oracle 9.2.
The two DB have 99,999% identical datas.
My rails app run on a independant serveur (W2003) using an Oracle
Client 8.1.7. I''ve the same results using IIS/FastCgi or script/server