Skip to content

@leucos /ora_NOK.rb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Post-fork "require 'oci8'" yields ORA-12154
require 'daemons'
Daemonize.daemonize(File.expand_path('./log.txt'), 'test')
require 'oci8'
db = OCI8.new('theuser', 'thepassword', 'SID');
db.exec('select * from utilisateurs where id = 74944') do |r|
puts r.join(',')
end
require 'daemons'
require 'oci8'
Daemonize.daemonize(File.expand_path('./log.txt'), 'test')
db = OCI8.new('theuser', 'thepassword', 'SID');
db.exec('select * from utilisateurs where id = 74944') do |r|
puts r.join(',')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.