Jump to content

Recommended Posts

Posted

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

Posted
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

  • Thanks 1
Posted (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 by LosOjos
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 156 What is your preferred operating system (PC)

    1. 1. Operating systems:


      • MacOS
      • Windows 10
      • Windows 11
      • Windows Vista
      • ChromeOS
      • Other (reply)

×
×
  • Create New...