I have installed ibm_db driver on ubuntu. then
1. started the irb: irb -rubygems.
2. irb-> require 'ibm_db' returns true. works fine.
3. irb-> conn = IBM_DB.connect("sample","db2inst1","mypassword")
fails. I get following error:
IBM_DB.conn_errormsg
=> "[IBM][CLI Driver] SQL30082N Security processing failed with reason \"42\" (\"ROOT CAPABILITY REQUIRED\"). SQLSTATE=08001 SQLCODE=-30082"
Thanks in advance for the help
|