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 » WebSphere Message Broker (ACE) Support » changing db userid which a flow uses to connect to db

Post new topic  Reply to topic
 changing db userid which a flow uses to connect to db « View previous topic :: View next topic » 
Author Message
gvaibhav
PostPosted: Mon Jun 26, 2006 5:35 am    Post subject: changing db userid which a flow uses to connect to db Reply with quote

Newbie

Joined: 11 Jan 2006
Posts: 4
Location: India

Hi All,
I am having a flow which connects to an application database.
My broker is on Windows and my database is on a remote AIX m/c and the tables are in schema1. I created a system dsn on the broker m/c to the db and saved the user id as 'schema1' in ini file. I am logged in to the local broker m/c as 'user1'.
I want my flow to connect to the db as user 'schema1'.
To add, my broker is running as user 'schema1' while configmgr as 'user1' on this local machine.
_________________
vaibhav
Back to top
View user's profile Send private message MSN Messenger
sysmq
PostPosted: Mon Jun 26, 2006 5:37 am    Post subject: Reply with quote

Novice

Joined: 04 Jun 2006
Posts: 22

Which version are u using ?
Back to top
View user's profile Send private message
gvaibhav
PostPosted: Mon Jun 26, 2006 5:44 am    Post subject: Reply with quote

Newbie

Joined: 11 Jan 2006
Posts: 4
Location: India

MB 5
_________________
vaibhav
Back to top
View user's profile Send private message MSN Messenger
fazz
PostPosted: Mon Jun 26, 2006 5:46 am    Post subject: Reply with quote

Centurion

Joined: 20 Feb 2004
Posts: 144
Location: England

run mqsisetdbparms from the command line.

you need to speicfy the broker name, the data source name and the user id and password

i.e. mqsisetdbparms BROKER -n DataSource -u UserId -p Password
Back to top
View user's profile Send private message
sysmq
PostPosted: Mon Jun 26, 2006 5:52 am    Post subject: Reply with quote

Novice

Joined: 04 Jun 2006
Posts: 22

You can specify the DB user Id and Password when you create the broker :

mqsicreatebroker brokerName -i serviceUserId -a servicePassword -q queueManager Name -n dataSourceName [-u dataSourceUserId] [-p dataSourcePassword] [-s unsQMgr Name [-j]] [-g configurationTimeout] [-k configurationDelayTimeout] [-w workPath] [-l userLilPath] [-t] [-m] [-v statisticsMajorInterval] [-P httpListenerPort] [-c icuConverterPath] [-y ldapPrincipal -z ldapCredentials]
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 » WebSphere Message Broker (ACE) Support » changing db userid which a flow uses to connect to db
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.