mysql username isn't sent

database.yml: http://pastie.org/766054

ActiveRecord::Base.connection_pool.spec

=> #<ActiveRecord::Base::ConnectionSpecification:0x7fd5f25aa238 @config= {:password=>nil, :username=>"developer", :database=>"foobar", :adapter=>"mysql", :encoding=>"utf8", :host=>"localhost"}, @adapter_method="mysql_connection">

error: Access denied for user ''@'localhost' to database 'foobar' (Mysql::Error)

Looks like the Mysql::Error is a bit confusing - it's actually a authorisation problem on the mysql side :slight_smile: