Script to change database connection parameters to direct connect

Discussion created by blvenetucci on Feb 7, 2012
Latest reply on Feb 7, 2012 by mvolz47
Hi all,

I have created a tool with the help of some of my fellow GIS users on this forum, that repairs broken data sources in an mxd based on the location of the mxd, old path connection and new path connection.

With the release of 10.1, all of our databases are moving to direct connect. Previously, we  were not connecting using a direct connect.

My question to you all is there a way to change the connection settings from the old connection to the direct connect using python?

I have included a document containing two screenshots, one showing the way we connect now and one showing how we are going to connect in the near future..