lib/kingdom_db.rb in bio-phyta-0.9.1 vs lib/kingdom_db.rb in bio-phyta-0.9.2
- old
+ new
@@ -11,10 +11,10 @@
"NONE"
]
def initialize(server, user, password, database)
- connect_string = 'mysql://'+ server + '/' + database + '?user=' + user
+ connect_string = 'mysql2://'+ server + '/' + database + '?user=' + user
if !password.nil?
connect_string = connect_string + '&password=' + password
end