title: MariaDB/MySQL Connector/C insert is producing confusing error (C++ on Raspbian)
body: <p>After some struggling, I was able to get the MariaDB/MySQL libraries linked up to my development environment on the RPi-4B (Raspbian/CodeBlocks). </p>
  
  <p>One of my lines seems to be erroring out and I can't quite figure out why:</p>
  
  <pre><code>insertString = "INSERT INTO eco_tank_data (eco_id) VALUES ('"+eco_id"')";
  </code></pre>
  
  <p>produces the error: </p>
  
  <blockquote>
    <p>error: expected ';' before string constant</p>
  </blockquote>
  
  <p>Am I missing something here? I feel like I'm completely bombing some syntax which is why I just included this line, but can include the full program if necessary.</p>
  
  <p>Thanks </p>