EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB483366: How To Set JDBC default Timezone in MicroStrategy Database Connection


Community Admin

• Strategy


How To Set JDBC default Timezone in MicroStrategy Database Connection.

Background

Strategy use different JDBC drivers to different data sources, either through shipped drivers or native drivers.However, different drivers have different JDBC implimentations.Data type of the date,time,datetime,timestamp might show different results.
If you encounter such issue. please consider setting the JVM option of Strategy Database Connection.
 

Configure JVM option of Strategy Database Connection Child Process

Configure JVM option of Strategy Database Connection On windows

Open Windows Registry Editor
Registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MicroStrategy\JNI Bridge\Config for DataServices\JVM Options]
Keys:
"OtherOptions"="-Duser.timezone=GMT"
NOTE: Please manually add a new key 'JVM Options' like below if couldn't find "JVM Options" key.

ka04W000000OcRiQAK_0EM2R000000hJhn.jpeg

Configure JVM option of Strategy Database Connection On Linux

File to edit:
MSTR_INSTALL_PATH/MSIReg.reg
Locate the line "[HKEYLOCALMACHINE\SOFTWARE\MicroStrategy\JNI Bridge\Config for DataServices\JVM Options]" and modify "OtherOptions" line. 
NOTE:  If an additional parameter is present within OtherOptions, separate parameters with semicolons such as:

BEFORE: "OtherOptions"="-Drefine.verbosity=error"AFTER: "OtherOptions"="-Drefine.verbosity=error;-Duser.time

 
 

Post Steps

Restart i-Server to take effect.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 17, 2019

Last Updated:

June 17, 2019