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 > db2 connect -> SQL0104N An unexpected token "!" was found following "<identifier>".

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-04, 20:45
jarmy jarmy is offline
Registered User
 
Join Date: Sep 2003
Posts: 6
Question db2 connect -> SQL0104N An unexpected token "!" was found following "<identifier>".

i am trying to connect to a DB2 8 database (JARMY1) on Win2k that i've established with a username of jason1 and a password of JAS0n1! (the complex pwd is due to network domain controller issues at my company).

when i try to connect to the JARMY database via DB2 CLP as such, i get the following error:

C:\Program Files\IBM\SQLLIB\BIN>db2 connect to JARMY1 user db2admin using db2admin!
SQL0104N An unexpected token "!" was found following "<identifier>".
Expected tokens may include: "NEW". SQLSTATE=42601

C:\Program Files\IBM\SQLLIB\BIN>

it seems that the DB2 GUI tools are able to connect OK on the DB server (i guess it's using the local registry info) but aside from that i'm stuck.

is this a known DB2/Windows issue? is there a workaround besides relaxing our network password restrictions?

many thanks in advance

jason
Reply With Quote
  #2 (permalink)  
Old 06-14-04, 23:34
kuckoo kuckoo is offline
Registered User
 
Join Date: Sep 2002
Posts: 41
Try to enter password when db2 CLP asks for it.

CLP> db2 connect to JARMY1 user db2admin using

Then enter password on prompt.


Kuckoo.
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