If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > New to DB2, Need help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-04, 09:40
SPudTFN SPudTFN is offline
Registered User
 
Join Date: Apr 2004
Posts: 4
New to DB2, Need help

I am trying to connect to a database.
I enter the command line:
connect to "database" user "username" using "password"
I get returned:
SQL30061N The database alias or database name "database " was not found at the remote node. SQLSTATE=08004

The database name is right its those extra spaces it seems that are confusing both me and DB2 so I can't connect to it.

If you can help me please do! I will be endlessly greatful, I'm getting deperate here!
Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-07-04, 09:43
SPudTFN SPudTFN is offline
Registered User
 
Join Date: Apr 2004
Posts: 4
Re: New to DB2, Need help

The spaces didn't come out the way I wanted there, there should be about 8 of them or so after the database name.
Reply With Quote
  #3 (permalink)  
Old 04-07-04, 09:58
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: New to DB2, Need help

Where is the database , local or remote ?

If it is remote, you will have to configure the database using the Config Assistant ...

Cheers
Sathyaram

Quote:
Originally posted by SPudTFN
The spaces didn't come out the way I wanted there, there should be about 8 of them or so after the database name.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #4 (permalink)  
Old 04-07-04, 11:22
SPudTFN SPudTFN is offline
Registered User
 
Join Date: Apr 2004
Posts: 4
Re: New to DB2, Need help

It is remote, and I have gone to the Config Assistant, but like I said Im new at this) I'm quite sure where to go from there.

Thanks!
Quote:
Originally posted by sathyaram_s
Where is the database , local or remote ?

If it is remote, you will have to configure the database using the Config Assistant ...

Cheers
Sathyaram
Reply With Quote
  #5 (permalink)  
Old 04-07-04, 12:59
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: New to DB2, Need help

I suggest you visit Dev Domain and download the connectivity cheat sheets ,

http://www-106.ibm.com/developerwork...301chong2.html

Cheers
Sathyaram

Quote:
Originally posted by SPudTFN
It is remote, and I have gone to the Config Assistant, but like I said Im new at this) I'm quite sure where to go from there.

Thanks!
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #6 (permalink)  
Old 04-07-04, 15:22
SPudTFN SPudTFN is offline
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks!

Looks great Ill use that I see what I can do.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On