title: Connect SQL Express 2012 vb.net
body: <p>I have been working on this for a few days now. I am trying to make vb.net forms app for my database. Right now I am working on a login form and a main form. I have researched many different websites and played with this string forever, but i can not get a connection to my db. I get different errors saying the machine refused it, then ill get a timeout error, then it will go back to refusal.</p>
  
  <pre><code>Dim conn As New MySqlConnection
      If conn.State = ConnectionState.Closed Then
          conn.ConnectionString = ("Server=192.168.0.2;Database=Sunshinetix;User=sa;Password=sunshine;")
      End If
  </code></pre>
  
  <p>Can someone please tell me what I am doing wrong? I am a beginner in vb.net. And this is a remote server, but LAN.</p>
  
  <p>Thanks!</p>
  
  <p>PS: Is is because I am using SQL Express?</p>
  
  <p><a href="https://stackoverflow.com/questions/11278114/enable-remote-connections-for-sql-server-express-2012">Enable remote connections for SQL Server Express 2012</a></p>
  
  <p>I've had that article open for a few days and it has helped me a lot to this point.</p>