title: What is the connection string to connect to the master database via SQL Server
body: <p>This is possibly a stupid question, but I can't find an answer anywhere else. </p>
  
  <p>I have a SQL database script to restore a number of databases. Via SQL Server 2008, I am able to execute the script by connecting to the 'master' system database. </p>
  
  <p>I'm attempting to automate the execution of this script via a .NET application using OdbcConnection / OdbcCommand classes. </p>
  
  <p>So I need to enter a connection string to be able to execute the script. </p>
  
  <p>Problem is I can't find the connection string for the master database. Is there one? </p>
  
  <p>I tried "DSN=master", but this didn't appear to work. </p>
  
  <p>Thanks in advance</p>