title: How to form a correct MySQL connection string?
body: <p>I am using C# and I am trying to connect to the MySQL database hosted by <code>00webhost</code>.</p>
  <p>I am getting an error on the line <code>connection.Open()</code>:</p>
  <blockquote>
  <p>there is no MySQL host with these parameters.</p>
  </blockquote>
  <p>I have checked and everything seems to be okay.</p>
  <pre class="lang-cs prettyprint-override"><code>string MyConString = &quot;SERVER=mysql7.000webhost.com;&quot; +
              &quot;DATABASE=a455555_test;&quot; +
              &quot;UID=a455555_me;&quot; +
              &quot;PASSWORD=something;&quot;;
  
  MySqlConnection connection = new MySqlConnection(MyConString);
  
  MySqlCommand command = connection.CreateCommand();
  MySqlDataReader Reader;
  
  command.CommandText = &quot;INSERT Test SET lat=&quot; + 
  OSGconv.deciLat + &quot;,long=&quot; + OSGconv.deciLon;
  
  connection.Open();
  Reader = command.ExecuteReader();
  
  connection.Close();
  </code></pre>
  <p>What is incorrect with this connection string?</p>