title: Connect to online MySQL database in C# desktop application
body: <p>I have a problem with connecting to the database. <br></p>
  
  <pre><code>private static readonly string s_connectionString = "Server=db.inu.hu; Database=patientRegistry;UID=****; Password=****; Port=3306; Trusted_Connection=true";
  </code></pre>
  
  <p>That's my connection string and with this I can't open the connection. <br></p>
  
  <pre><code> using (SQLiteConnection conn = new SQLiteConnection(s_connectionString))
    {
        conn.Open();
    }
  </code></pre>
  
  <p>I thought the problem might be that I have a table in the database and need to add that to the connection string.</p>