title: How to execute a "INSERT INTO" query to a remote database with linux command line?
body: <p>I'm tryng to create a code in raspbian system to update a value in my database mySQL stored into my hosting server using a bash ".sh" scrypt.</p>
  
  <p>this line won't to work but I don't know why...</p>
  
  <pre><code>mysql -h eliuslab.com -u user -pPassWord -D mydatabase -e "INSERT INTO 'home-IP' ('IP') VALUES ('192.168.1.2')"
  </code></pre>
  
  <p>And the output:</p>
  
  <pre><code> 'ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''home-IP' ('IP') VALUES ('192.168.1.2')' at line 1 '
  </code></pre>
  
  <p>this query works well in a GUI mySQL client, but what I want to do is to launch this action with my ".sh" bash scrypt.</p>
  
  <p>Thank you so much :)</p>