title: Getting "Access denied for user 'root'@'localhost' (using password: NO)" in production mode and no errors getting logged
body: <p>I deployed my Rails app and am getting 500 Errors on all pages. My production.log isn't showing anything (which is a problem), but I did a 'script/console production' and tried to run a simple query (User.find :first) and it throws this:</p>
  
  <pre><code>Access denied for user 'root'@'localhost' (using password: NO)
  </code></pre>
  
  <p>My database.yml file definitely has a password there and it's correct.</p>
  
  <p>So, that plus no errors being logged to my production.log file is making me wonder what's up.</p>
  
  <p>Any ideas where I'd start looking or what the issue could be?</p>
  
  <p>Also, for what it's worth, I'm running Passenger on Apache.</p>
  
  <p>UPDATE: Here's my database.yml file contents</p>
  
  <pre><code>development:
    adapter: mysql
    encoding: utf8
    database: website_development
    username: root
    password: secretz
    socket: /tmp/mysql.sock
  
  test:
    adapter: mysql
    encoding: utf8
    database: website_test
    username: root
    password: secretz
    socket: /tmp/mysql.sock
  
  production:
    adapter: mysql
    encoding: utf8
    database: website_production
    username: ttp_mysql
    password: secretz
    socket: /var/run/mysqld/mysqld.sock
  </code></pre>
  
  <p><strong>NEW UPDATE:</strong> I changed the mysql user so it wasn't running in root, but now I'm still getting the "Access denied for 'root'@'localhost'" bit...even though in production mode it shouldn't be running as 'root' at all.</p>
  
  <p>Really really confused now.</p>