Skip to content

Connect remote Oracle database to HammerDB #768

Answered by sm-shaw
erlupo1927 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like the GUI is not picking up the environment variable for the Oracle instant client that should already be installed.
To change this connect to the container with a shell
docker exec -it hammerdb-cloudtk /bin/bash
Change to the HammerDB-CloudTk directory
cd /home/HammerDB-4.10/CloudTk-1.4.0-51/Tk/HammerDB-CloudTk
and edit the startup file
vi TkStartup.tcl
Add the line where we set the LD_LIBRARY_PATH for the Oracle instant client

global env
set ix [lsearch $argv -display]
if {$ix >= 0} {
   incr ix
   set env(DISPLAY) [lindex $argv $ix]
   set argc 0
   set argv {}
cd [ file join {*}[ lreplace [ file split [ pwd ]] end end ]]
set tempdir [ file join [ pwd ] TMP ]
if { ![file ex…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@erlupo1927
Comment options

@sm-shaw
Comment options

@erlupo1927
Comment options

Answer selected by erlupo1927
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants