0

I have a set of ODBCs that have to be changed each time I move a computer from one domain to the other. I have move a bunch of them so I am looking for a way to do this with command line to save time. If you know any faster ways of doing this I am open to this also.

A. Fuller
  • 1
  • 3

1 Answers1

0

You can change from cmd as below.

odbcconf configsysdsn "MySQL ODBC 5.2w Driver"
"DSN=test;SERVER=127.0.0.1;PORT=3306;DATABASE=mdb;UID=root 

Reference: Install An ODBC connection from cmd line

GriGrim
  • 2,891
  • 1
  • 19
  • 33