HowTo: Automate enabling geodatabase
【相关信息】
Article ID: 41074
Software:
ArcSDE 10.1
ArcGIS for Desktop Standard 10.1
Platforms:
Windows Server 2008, Windows 8
【问题描述】
GIS managers, DBAs, and administrators sometimes need to automate workflows such as enabling geodatabases. Instructions provided describe how to do this using a Python script.
Article ID: 41074
Software:
ArcSDE 10.1
ArcGIS for Desktop Standard 10.1
Platforms:
Windows Server 2008, Windows 8
【问题描述】
GIS managers, DBAs, and administrators sometimes need to automate workflows such as enabling geodatabases. Instructions provided describe how to do this using a Python script.
1 个回复
EsriSupport
赞同来自:
The Python script below demonstrates how to create a connection file and enable a geodatabase.
Modify the below parameters according to the environment:
temp = r"C:/temp"
auth_file = "C:/Authorizationfile/aut101/Server_Ent_Adv.ecp"
Connection_File_Name = "Nidhi_oracle2.sde"
database_platform = "ORACLE"
instance = "lclinton2/testoracle"
database = ""
account_authentication = "DATABASE_AUTH"
username = "sde"
password = "sde"
save_user_pass="TRUE"
dba_username = "sys"
dba_password = "manager"
Python script:
【其它相关参考】
【创建及修改时间】
Created: 3/29/2013
Last Modified: 8/8/2013
【原文链接】
http://support.esri.com/en/kno ... 41074
要回复问题请先登录或注册