Article ID: 1327, created on Oct 6, 2008, last review on May 11, 2014

  • Applies to:
  • Plesk 7.x for Windows


Run the following command:

odbcmng.exe --add-dsn "--connection-string=DRIVER={SQL Server};SERVER={server_name_here};UID={username_here};PWD={password_here};DATABASE={db_name_here};" --dsn-name=dsn_name_here

List of MSSQL servers can be obtained with:

odbcmng.exe --get-servers-list "--driver={SQL Server}"

 Note: This is not creation utility for DSN connections. It means odbcmng does not create DSN in Plesk. This tool is used to create DSN directly in the system.

c0c38d2367acfa8909699e0b34b01dea 85a92ca67f2200d36506862eaa6ed6b8 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF