Node js and mysql with bluebird
<p>I'm trying to use bluebird with mysql.</p>

<p>So I have</p>

<pre><code>var Promise = require("bluebird");
var Mysql   = Promise.promisifyAll(require('mysql'))
</code></pre>

<p>but after ?</p>

<p>I tried with </p>

<pre><code>var pool = Mysql.createPoolAsync({
connectionLimit : 10,
host : MYSQL_HOST,
database : MYSQL_DB,
user : MYSQL_USER,
password : MYSQL_PASS
})


pool.getConnectionAsync().then( (error,connection) =&gt; { console.log('----') } )
</code></pre>

<p>But it's not working.</p>

<pre><code>TypeError: pool.getConnectionAsync is not a function
</code></pre>