LosOjos Posted March 25, 2010 Posted March 25, 2010 Hi all, Does anybody know how to tell the CommandReporter which database to connect to when there are multiple entries in the connect.ini? Tried prefixing the username with the database name as the error returned is along the lines of "login failed for [DB_NAME]_[uSERNAME]" but it seems it's not that simple. Any help will be appreciated (and thanked)! Josh
dhicks Posted March 25, 2010 Posted March 25, 2010 Does anybody know how to tell the CommandReporter which database to connect to when there are multiple entries in the connect.ini? Could you run CommandReporter from a script / batch file that rewrites connect.ini before running CommandReporter so that it connects to the server you want? -- David Hicks 1
LosOjos Posted March 25, 2010 Author Posted March 25, 2010 (edited) Could you run CommandReporter from a script / batch file that rewrites connect.ini before running CommandReporter so that it connects to the server you want? -- David Hicks Yeah that's the only way I can see at the moment, I was hoping there would be some undocumented argument like "/DB:[DB_NAME]" or something to make life easier, if not that's what I'm going to have to do I think. Edited March 25, 2010 by LosOjos
matt40k Posted March 25, 2010 Posted March 25, 2010 What are you thinking of doing, it'll determine how you do it. PM me if you want. 1
LosOjos Posted March 26, 2010 Author Posted March 26, 2010 What are you thinking of doing, it'll determine how you do it. PM me if you want. I have a couple of reporting systems in place that rely on commandreporter to gather information, but now that we have two connections, it's automatically defaulting to the wrong connection so the reports don't run.
MattMitchell Posted March 26, 2010 Posted March 26, 2010 How about having a directory for each client setup? It's likely that commandreporter will use connect.ini from the current directory.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now