title: How to install mssql in ubuntu 12.04
body: <p>Installed freetds</p>
  
  <p>/etc/odbcinst.ini</p>
  
  <pre><code>[FreeTDS]
  Description = ODBC for Microsoft SQL
  Driver      = /usr/lib/libtdsodbc.so
  UsageCount  = 1
  Threading   = 2
  </code></pre>
  
  <p>/etc/odbc.ini</p>
  
  <pre><code>[myserver-connector]
  Description     = MS SQL connection to 'asterisk' database
  Driver          = FreeTDS
  Database        = mydb
  Server          = 192.168.100.1
  UserName        = sampleuser
  Password        = password
  Trace           = No
  TDS_Version     = 7.0
  Port            = 1433
  </code></pre>
  
  <p><code>echo "select 1" | isql -v myserver-connector</code></p>
  
  <p>I got following error message:</p>
  
  <p><code>[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so' : file not found
  [ISQL]ERROR: Could not SQLConnect</code></p>