Unix Technical Forum

a short connection problem

This is a discussion on a short connection problem within the DB2 forums, part of the Database Server Software category; --> Hello! excuse me for my minimum-knowledge about db2 and databases. nethertheless let my ask you this question. i have ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 03:57 PM
Arnd Schroeter
 
Posts: n/a
Default a short connection problem

Hello!

excuse me for my minimum-knowledge about db2 and databases.
nethertheless let my ask you this question. i have a db2 database
somewhere runnning on a linux machine. when i am logged in as a
special user on this machine, i can compile and start my programms
written in c++, i can connect to different databasis, execute sql
commands, etc. now i wanted to run my programms same way but logged in
on another machine. i just copied the libraries to that machine. so i
could start my programms. the problem is now that within this
application i cannot connect to the databasis on the other machine (a
runtime error occurs). actually i am not knowing how to write in c++,
that he should connect the database on the db2 computer. or maybe i
have a general mistake in my way of thinking. could anyone help me?
thanks a lot..
Arnd Schröter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 03:57 PM
Ian
 
Posts: n/a
Default Re: a short connection problem

Arnd Schroeter wrote:
> Hello!
>
> excuse me for my minimum-knowledge about db2 and databases.
> nethertheless let my ask you this question. i have a db2 database
> somewhere runnning on a linux machine. when i am logged in as a
> special user on this machine, i can compile and start my programms
> written in c++, i can connect to different databasis, execute sql
> commands, etc. now i wanted to run my programms same way but logged in
> on another machine. i just copied the libraries to that machine. so i
> could start my programms. the problem is now that within this
> application i cannot connect to the databasis on the other machine (a
> runtime error occurs). actually i am not knowing how to write in c++,
> that he should connect the database on the db2 computer. or maybe i
> have a general mistake in my way of thinking. could anyone help me?
> thanks a lot..
> Arnd Schröter


I think you need to install the DB2 Runtime Client software on the
box where you want to run the application from. After installing the
Runtime client, you can then catalog the remote database so your
application can connect.

Good luck,




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com