Skip to content

Commit

Permalink
pass in username database configuration for em_mysqlplus adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Suriel authored and igrigorik committed Jul 9, 2010
1 parent f9f93dc commit 43c6d09
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -18,6 +18,7 @@ def connect
@connection = EventMachine::MySQL.new({
:host => @hostname,
:port => @port,
:user => @config[:username],
:database => @config[:database],
:password => @config[:password],
:socket => @config[:socket]
Expand Down

0 comments on commit 43c6d09

Please sign in to comment.