title: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database <database> requested by the login. The login failed
body: <p>I try to access Sql Server through Spring boot application. Everything working fine with Sql management studio but when I try to connect with Spring boot application, it's throwing error:</p>
  
  <pre><code>com.microsoft.sqlserver.jdbc.SQLServerException: 
  Cannot open database &lt;database&gt; requested by the login. The login failed.
  </code></pre>
  
  <p>If I remove database name from connection string, connection is established but failed if I given database name in connection string.</p>