Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Gabriel Martinez
RE: Rails server hang db connection with IDS [ reply ]  
2012-12-12 15:31
Hi Praveen.

the hash conn_options is set:

conn_options = {IBM_DB::ATTR_CASE => IBM_DB::CASE_LOWER}

and the console output is:

conn_options = {3271982=>1}

Thank you for your help

By: Praveen Devarao
RE: Rails server hang db connection with IDS [ reply ]  
2012-12-11 00:39
Hi Gabriel,

Could you let us know what options are you passing in the hash conn_options?

Thanks

Praveen

By: Gabriel Martinez
Rails server hang db connection with IDS [ reply ]  
2012-12-10 15:32
Hi all.

I'm using the ibm_db gem against IDS.

When i start rails server, it's hang in the database connection.

I change the line:
connection = IBM_DB.connect(database, username, password, conn_options)

with:
connection = IBM_DB.connect(database, username, password)#, conn_options)

now works. but i can't figure how to solve this problem. Thanks