title: connect ECONNREFUSED - node js , sql
body: <p><strong>I have the next code in a js file:</strong></p>
  
  <pre><code>var mysql = require('mysql');
  var TEST_DATABASE = 'nodejs_mysql_test';
  var TEST_TABLE = 'test';
  var client = mysql.createClient({
    user: 'root',
    password: 'root',
  });
  
  client.query('CREATE DATABASE '+TEST_DATABASE, function(err) {
    if (err &amp;&amp; err.number != mysql.ERROR_DB_CREATE_EXISTS) {
      throw err;
    }
  });
  </code></pre>
  
  <p><strong>But I get this error:</strong></p>
  
  <pre><code>node.js:201
          throw e; // process.nextTick error, or 'error' event on first tick
            ^
  Error: connect ECONNREFUSED
      at errnoException (net.js:632:11)
      at Object.afterConnect [as oncomplete] (net.js:623:18)
  </code></pre>
  
  <p>As I understand it, this is a connection problem - but how do I solve it?</p>
  
  <p>( I'm working on windows 7)</p>
  
  <p>Thanks!!</p>