安装和升级 > 安装和配置指南 > 高级配置 > 数据库初始化和数据加载 > 手动加载数据库架构和基础数据
  
手动加载数据库架构和基础数据
在使用 PSI 进行安装的过程中,将提示选择数据加载程序设置。如果选取不使用 PSI 加载数据,则在 PSI 安装解决方案后,必须将其手动加载。
本节介绍了针对在 Windchill 的现有安装基础上所安装的 Windchill 产品,用于手动加载数据库架构和基础数据的命令。这些命令必须使用 Windchill shell 执行。
* 
在为附加产品加载基础数据之前,请确保已启动且正在运行 HTTP Server 和 LDAP 服务器。如果已安装 Windchill 解决方案并且已加载其相关的数据库架构,又在此基础上安装了附加 Windchill 产品,则只能加载特定于该附加 Windchill 产品的数据库架构。无法两次加载相同的数据库架构,因为这会导致出错。
要在安装了 PTC Windchill 附加产品的情况下加载数据库架构和基础数据,请使用以下加载命令语法:
windchill --javaargs="-Dwt.tools.sql.dbUser=<username>
-Dwt.tools.sql.dbPassword=<password>"
wt.tools.sql.SQLCommandTool %WT_HOME%/db/sql/<schema file>
请注意下列事项:
使用 SQL Server 数据库时,请将“加载数据库架构”命令中 %Windchill%/db/sql 的所有实例替换为 %Windchill%/db/sqlServer。
在 Windchill 中使用 Oracle 多字节支持时,请将“加载数据库架构”命令中 %WT_HOME%/db/sql 的所有实例替换为 %WT_HOME%/db/sql3。
%Windchill% 是指 Windchill 目录。
为 Windchill 加载本地化基础数据时,将 "-Locale" 的值替换为适用的区域设置扩展名。例如,对于意大利语,设置为 "-Locale=it"
将 <架构文件> 替换为 PTC 产品的下表中的值
将 <app_ID> 替换为 PTC 产品的下表中的值
PTC 产品
<架构文件>
<app ID>
PTC Windchill
PDMLink
pdml/DDLBasic/Make_module_DDLBasic.sql
Windchill.COMMONPDM
Windchill.PDMLink
PTC Windchill
ProjectLink
pjl/ChangePlanning/Make_module_ChangePlanning.sql
pjl/ProjectManagement/Make_module_ProjectManagement.sql
Windchill.ProjectLink
PTC Windchill
QMS
qms/Masterdata/Make_module_Masterdata.sql
Windchill.QualityManagement.QMS
PTC Windchill
CAPA
capa/CAPA/Make_module_CAPA.sql
Windchill.QualityManagement.CAPA
PTC Windchill
不合格
nc/NC/Make_module_NC.sql
qms/DispositionServer/Make_module_DispositionServer.sql
Windchill.QualityManagement.NC
PTC Windchill Customer Experience
管理
cem/CEM/Make_module_CEM.sql
Windchill.QualityManagement.CEM
PTC Windchill UDI
udi/UDI/Make_module_UDI.sql
Windchill.QualityManagement.UDI
PTC Windchill Integrations for Embedded Software
rialto/WTSoftwareIssue/Make_module_WTSoftwareIssue.sql
Windchill.SoftwareLink.Installed
PTC Arbortext Content Manager
pdml/DDLBasic/Make_module_DDLBasic.sql
Windchill.COMMONPDM
PTC Windchill ESI Services
esi/Esi/Make_module_Esi.sql
Windchill.EnterpriseSystemsIntegration
PTC Windchill Product Analytics
Process Adapter
wii/Environment/Make_module_Environment.sql
Windchill.Environment
PTC Windchill Gateway for Cadence Allegro Design Workbench (ADW)
不可用
Windchill.ECADLibSyncServer
PTC Windchill Ship
Building Template
不可用
Windchill.WCShipbuildingTemplate
PTC Windchill Supplier Management
suma/SupplierManagement/Make_module_SupplierManagement.sql
Windchill.SupplierManagement
PTC Windchill Aerospace and Defense - CDRL/SDRL, CAGE Code and Unincorporated Charge
wadm/wadm/Make_module_wadm.sql
Windchill.WADM
PTC Windchill Aerospace and Defense - Configuration Items and Design Solutions
不可用
Windchill.ConfigItemDesignSolution
PTC Windchill Aerospace and Defense - Setup for Configuration Items and Design Solutions
不可用
Windchill.ConfigItemDesignSolution_InstallConfig
PTC Windchill PartsLink
不可用
Windchill.PartsLink
PTC Windchill Service Information Manager
sis/SisCore/Make_module_SisCore.sql
Windchill.SIS
PTC Windchill Service Part
sisipc/PartList/Make_module_PartList.sql
Windchill.SISPartCatalog
PTC Windchill
MPMLink
/sql/mpml/MPMLink/Make_module_MPMLink.sql
Windchill.mpmlink