title: Why does my MySQL connection not work in visual studio code C#?
body: <p>i am making a program in visual studio code with C#, it is a paid program so it needs an hwid system. Basically i want it to check if your computer HWID exists in the HWID table in my users database. But it says it can't connect to the database. Can you help me? This is my code.`</p>
  
  <pre><code>        string connectionString = "Server=SomeServer;Database=i got you this is notthe real database;User ID=same;Password=same for password;";
  
          MySqlConnection mydbCon = new MySqlConnection(connectionString);
  
  
          mydbCon.Open();
  
          MySqlCommand command = mydbCon.CreateCommand();
  
  
          command.CommandText = "SELECT * FROM yourTable WHERE hwid = GetHDDSerial";
          IDataReader reader = command.ExecuteReader();
  </code></pre>
  
  <p>`</p>