title: How to create a new login in ssms2016
body: <p>I'm trying to make a new login in SSMS. I need it for the presistnase.xml in java jpa.</p>
  
  <p>I click in security -> logins -> new login and I choose SQL Server Authentication.
  I write user name and password.</p>
  
  <p>Them i try to connect with the new login, and  I get the following message:</p>
  
  <pre><code>TITLE: Connect to Server
  ------------------------------
  Cannot connect to DESKTOP-MJ1GR85.
  ------------------------------
  ADDITIONAL INFORMATION:
  
  Login failed for user 'n'. (Microsoft SQL Server, Error: 18456)
  
  For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&amp;EvtSrc=MSSQLServer&amp;EvtID=18456&amp;LinkId=20476
  </code></pre>