Solved

Where did he set up the database connection in the Mirth engine?

Posted on 2016-10-04
3
34 Views
Last Modified: 2016-10-04
The guy who programmed the SQL is no longer available and we have an issue.  I can find his SQL in the transformers and identify the tables he is using, but for the life of me I cannot determine where the database resides.  He doesn't use the call to the database connection factory in the individual transformers (only the SQL calls), so he must have set it globally, but I cannot find it.

We need direct access to the tables to solve the issue  --  any ideas where in the Mirth engine I should be looking?

Thanks in advance!

--Al

Open to topic suggestions, too...
0
Comment
Question by:codefinger
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 41828780
Please have a look at  %MIRTH_HOME%/conf/database directory with the filename database-database.sql.
Can you also have a look at ODBC data sources in Windows? maybe there are DSN's pointing to the SQL server for connectivity purpose?

"Configuring a new server datasource"
http://www.mirthcorp.com/community/wiki/display/mirth/Configuring+a+new+server+datasource
0
 

Author Comment

by:codefinger
ID: 41828863
Turned out to be in the code template  -- Mirth tech support guided me to it first, but if I had read your answer before that it might have eventually brought me to the same place.
0
 

Author Closing Comment

by:codefinger
ID: 41828866
Turned out to be in the code template  -- Mirth support guided me to it first, but if I had read your answer before that it might have eventually brought me to the same place.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now