lib/mysql2xxxx/properties.rb in mysql2xxxx-0.1.0 vs lib/mysql2xxxx/properties.rb in mysql2xxxx-0.1.1
- old
+ new
@@ -13,10 +13,10 @@
def password
options['password'] || active_record_config.try(:[], :password)
end
def host
- options['host'] || active_record_config.try(:[], :host) || '127.0.0.1'
+ options['host'] || active_record_config.try(:[], :host)
end
# MySQL connection charset
#
# If you change this, you also have to change :encoding