ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » problem with ODBC connection for a specific database

Post new topic  Reply to topic
 problem with ODBC connection for a specific database « View previous topic :: View next topic » 
Author Message
harish6185
PostPosted: Wed Mar 05, 2008 7:29 am    Post subject: problem with ODBC connection for a specific database Reply with quote

Novice

Joined: 05 Mar 2008
Posts: 16

Hi all,

I have a problem with ODBC connection.
below are the details:

When a XML message is passed from the broker server to database i am getting the error
[DataDirect][ODBC Oracle driver][Oracle]ORA-01017: invalid username/password; logon denied

However, when we use SQLPlus from the broker server, we can access the data with the same ID and password.

but if we change the database server name in .odbc.ini file it is working fine with the same user id and password with the changed database.

Infact it used to work earlier with both the databases but all of a sudden it is working only with one database now.

Could anyone please explain why it is not working with first database?

thank you in advance
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 05, 2008 7:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981



mqsisetdbparms
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
harish6185
PostPosted: Wed Mar 05, 2008 7:56 am    Post subject: Reply with quote

Novice

Joined: 05 Mar 2008
Posts: 16

thanks for replying.

i am new to MQ, so could you please explain me where to pass that command?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 05, 2008 8:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not an MQ command.

If it was an mq command, it would not start with "mqsi".

It's a Broker command.

All of the Information you need to know about how and why to use this command is in the Broker Information Center.

Happy Reading.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
harish6185
PostPosted: Wed Mar 05, 2008 8:28 am    Post subject: Reply with quote

Novice

Joined: 05 Mar 2008
Posts: 16

thank you for quick reply.

i have searched for more on that command on net and i found the following syntax.

>>-mqsisetdbparms--brokername-- -n --DataSourceName------------->

>-- -u --DataSourceUserId-- -p --DataSourcePassword------------><

and i also found that this command has to be passed only after stopping the broker.

could you please tell me what exactly DataSourceName refers here?

and could you also please confirm whether this is the correct syntax?

thank you in advance
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Mar 05, 2008 11:00 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

you don't trust "the net" for the syntax?

Try searching the offical IBM docs for the command.
http://www-306.ibm.com/software/integration/wbimessagebroker/support/
Then you know you got the right syntax. And you can do further searches for other related things, like what DataSourceName is.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » problem with ODBC connection for a specific database
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.