title: knexfile.js does not read Dotenv variables
body: <p>So I am trying out knexjs and the first setup works like a charm. I've set up my connection, created a datastructure and in my terminal i ran <code>$ knex migrate:latest.</code>
  It all worked fine... the migrated tables showed up in my database ran the migrate again and got <code>Already up to date</code>.</p>
  
  <p>Now here is where I get an issue: Using Dotenv... Here is my code:</p>
  
  <pre><code>require('dotenv').config();
  
  module.exports = {
  
          development: {
  
              client: process.env.DB_CLIENT,
              connection: {
  
                  host: process.env.DB_HOST,
  
                  user: process.env.DB_ROOT,
                  password: process.env.DB_PASS,
  
                  database: process.env.DB_NAME,
                  charset: process.env.DB_CHARSET
  
              }
          }
  };
  </code></pre>
  
  <p>As far as i can see nothing wrong with it and when i run the script through node no errors show up.
  Then I wanted to check if I still could do a migrate and i get the following error:</p>
  
  <blockquote>
    <p>Error: ER_ACCESS_DENIED_ERROR: Access denied for user ''@'[MY IP]'
    (using password: YES)</p>
  </blockquote>
  
  <p>I am using the same vars only this time from my <code>.env</code> file. But when i look at the error nothing is loaded from it, and yes both the <code>knexfile.js</code> and <code>.env</code> are in the root of my project :) Among the things i tried is setting the path in different ways within <code>require('dotenv').config();</code> but then it would throw an error from dotenv meaning the file was already correctly loaded.</p>
  
  <p>Can anyone help me figuring this out?</p>