Error in startup script: invalid command name "wm" #470
-
HI Team , [root@svl-dbp657 HammerDB-4.6]# ./hammerdb
can some help here to setup my environment . also when i am trying to setup with windows its not able to find the client library for my sql however its already part of the location / couldn't load library "D:/MSSQL/HammerDB/HammerDB-4.5-Win/HammerDB-4.5/lib/mysqltcl3.052/libmysqltcl.dll": this library or a dependent library could not be found in library path |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi, this will be down to the ownership of the DISPLAY so as an example '$' shows the user prompt and '#' root:
It all works and HammerDB opens.
This errored because we can't connect to the DISPLAY.
So we set the DISPLAY environment variable, but still it doesn't work
So now we go back to our user prompt (the user that logged in and owns the display and allow other clients to connect
and back as root, success! we now have both the environment variable set and the permission to run the GUI as root.
For the error on Windows See this section of the documentation https://www.hammerdb.com/docs/ch01s10.html. This explains step by step using MySQL as an example of how to verify that the MySQL library that HammerDB is looking for is installed. |
Beta Was this translation helpful? Give feedback.
-
HI , Thanks for your response still i have same issue and i am using root only . HammerDB-4.6]# echo $DISPLAY export DISPLAY=notmydisplay:0
echo $DISPLAYnotmydisplay:0
[root@ HammerDB-4.6]# export DISPLAY=:0
[[email protected]]# export DISPLAY=:0
|
Beta Was this translation helpful? Give feedback.
-
HI , also i have still not able to figure out why couldn't connect to display "notmydisplay:0" over the linux . alos i have check with dependency toll on the window its not able to find teh libmysql.ddl however complete package of mysql already installed on the server and libmysqltcl.dll already exist on teh server. also when we are setting with the MySQL connection its required to keep the ssl over the local client because its asking the local path on the MySQL client. |
Beta Was this translation helpful? Give feedback.
-
HI , |
Beta Was this translation helpful? Give feedback.
HI ,
its also required to load all library t work with i need work only for MySQL at this movement.
hammerdb>librarycheck
Checking database library for Oracle
Error: failed to load Oratcl - can't read "env(ORACLE_HOME)": no such variable
Ensure that Oracle client libraries are installed and the location in the LD_LIBRARY_PATH environment variable
Checking database library for MSSQLServer
Success ... loaded library tdbc::odbc for MSSQLServer
Checking database library for Db2
Error: failed to load db2tcl - couldn't load file "/var/lib/mysql/HammerDB-4.6/lib/db2tcl2.0.1/libdb2tcl.so": libdb2.so.1: cannot open shared object file: No such file or directory
Ensure that Db2 client libraries are …