首页 > 代码库 > YouTrack Changing Database Location for EXE Distribution(windows service)
YouTrack Changing Database Location for EXE Distribution(windows service)
If you have installed YouTrack from EXE Distribution, then the best way to change the database location is by specifying it via JVM property.
- Stop currently running YouTrack service. Open Control panel > Administrative tools > Services and stop ‘YouTrack Web Server‘ service.
- In the <YouTrack Installation Directory>/bin start Tomcat‘s service configuration editor by executing the command
tomcat7w.exe
//ES//YouTrack
- Switch to the Java tab and then edit the Java Options (for more information see Tomcat 7 documentation)
- To change the database location, specify the database.location property:
-Ddatabase.location=<path to your database>
- Exit Tomcat‘s service configuration editor.
- Start ‘YouTrack Web Server‘ service.
【来源】http://confluence.jetbrains.com/display/YTD5/Changing+Database+Location
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。