How To
- Approve order function.
- Cost Activities
- How does the “Approved Supplier” (QA status) functions work?
- How does the Approve direct purchases onshore work?
- How does the rule-based approval matrix work?
- How To - Set Failure Report Running Number
- How To - Add SQL Server to Windows Firewall Exception
- How To - Access the report template editor
- How To - Accounts and Budget (v. 2.662 and later)
- How To - Active a unit for use with the Incidents Module
- How To - Add same document on multiple components
- How To - Approve Purchase Orders and Change Requests when using Approval Rules and Change Approval
- How To - Assign user rights
- How To - Automatically resize images
- How To - Backup TMv2
- How To - Cancel Job History (Job Signed Out In Error)
- How To - Cancel job history (Video Link)
- How To - Catalogs
- How To - Change a Unit Code in TM Master V2
- How To - Check for File Not Found Error. Document Handling.
- How To - Circulating Components
- How To - Company tags
- How To - Connect the TM Master v2 Client Application
- How To - Connect the TM Master v2 client to more than one database
- How To - Contract Management
- How To - Copy Components, Component Jobs and Spare Parts
- How To - Create a new unit
- How To - Create a New User TM Master v2
- How To - Create and use batch jobs in TM
- How To - Create Credit Note
How To - Connect the TM Master v2 client to more than one database
Introduction and background:
After connecting a TM Master v2 client to a database using the built in connection tool as described in our Technical Guide, the TM Master v2 client will automatically connect to that database and jump straight to its login upon startup. However there may be cases where you want to connect your TM Master v2 client to more than one database. A typical example is that you want to have a test environment available in addition to the production environment. To achieve this read on:
First some technical background. When you connect the TM Master v2 client to a database using the connection tool, TM Master is storing the connection information in a .xml file in a particular folder on your hard drive (FYI all sensitive information in this file is encrypted and safe). As long as there is only one such connection file in the folder the TM Master v2 client will assume that this is the database you want to log on to and take you straight to its login. If there are no connection files in the folder it will take you to the connection tool. If there are more than one connection file available in the folder it'll take you to a dialog allowing you to choose which database to log on to.
The folder in question is:
%ProgramData%\Tero Marine\TM Master v2
To be able to connect to an additional database after generating the connection to the first, you need to temporarily move the .xml connection file for the first database out of this folder, then start the TM Master v2 client. Since you moved the connection file out this will take you to the connection tool, allowing you to specify a new connection. Once this is done and the connection file is generated, you can move the original connection file back into the folder. Since there are now two connection files in the folder, the TM Master v2 client will now take you to the database selection dialog upon startup.
If you already have more than one database available, you can also create separate TM Master v2 client shortcuts connecting directly to each database by using the "-o" parameter followed by the name of the connection file. Example:
Step by step guide with pictures:
Example of connecting to the first database using the connection tool:
The .xml connection file is now generated in the [%ProgramData%\Tero Marine\TM Master v2] folder:
And starting the TM Master v2 client takes us straight to the login for the "ProductionENV" database:
Close the TM Master v2 client and move the generated .xml connection file out of the [%ProgramData%\Tero Marine\TM Master v2] folder so that it's empty:
Then start the TM Master v2 client and use the connection tool to connect to the second database:
This generates a new .xml connection file in the [%ProgramData%\Tero Marine\TM Master v2] folder:
Move the first .xml connection file back into the [%ProgramData%\Tero Marine\TM Master v2] folder:
Now when starting the TM Master v2 client you will be taken to the database selection dialog:
If you want to add yet more databases to the database selection dialog, simply click the "Create new settings file" button, which takes you to the connection tool.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article