Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
mgchong
Contributor III
Contributor III

Do we have to close the database connection explicitly?

Hi Guys,
I am using mysql database. The connection property is defined via Repository. Do we need to close the database connection explicitly? If yes, how can we achieve that? Thanks.
0683p000009MCu2.png
Labels (3)
2 Replies
Anonymous
Not applicable

Hi,
Do you want to mask your DB connection parameters?  If you have defined you database connection in Metadata then you can use the "Export as Context" button in the DB connection page to create an initial context group to mask your info.
Please take a look at my screenshots
Best regards
Sabrina
0683p000009MCu7.png 0683p000009MCuC.png
mgchong
Contributor III
Contributor III
Author

Hi Sabrina,
Yes, I am using metadata. My question was do we need to close database connection in the process e.g using tmysqlclose or tmysqlcommit? Thanks.
Regards,
MG