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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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! =----- |