Access Denied for User (NodeJS & MySQL)
<p>I'm trying to connect to a database that I have up on my domain. I've created a user called public_guests which can access this database.</p>

<p>I'm using NodeJS to create a connection but I get the following error.</p>

<blockquote>
  <p>ER_ACCESS_DENIED_ERROR: Access denied for user</p>
</blockquote>

<p>The error is followed by my IP address etc.</p>

<p>Here is my code:</p>

<pre><code>mysql = require("mysql");

var connection = mysql.createConnection({
    host: "humadshah.com",
    username: "public_guests",
    password:"hello",
    databse:"my_quotes"
});

connection.connect(function(error){
    if(error){
        console.log("Couldn't connect :(    Error: " + error);
    } else {
        console.log("Connected successfully~!");
    }    
});
</code></pre>

<p>I've <strong>never</strong> used a database before, so I'm expecting this to be a really stupid mistake somewhere.</p>