opscode-cookbooks/database — pull request #44 by jakshi (2013-09-04 17:40:58+00:00)
Title: Add: socket connection parameter

* Socket can be placed in non-default dir

Usage example:
mysql_connection_info = {
:host => "localhost",
:username => 'root',
:password => node['mysql']['server_root_password'],
:socket => '/db/mysql.sock'
}

mysql_database_user 'newrelic' do
connection mysql_connection_info
password newrelic_pass
action :create
end