lib/bio-ucsc/hg38.rb in bio-ucsc-api-0.6.3 vs lib/bio-ucsc/hg38.rb in bio-ucsc-api-0.6.4
- old
+ new
@@ -1,8 +1,8 @@
#
# = AUTOMATIC Table Definition of Hg38
-# Copyright:: Copyright (C) 2011, 2012, 2014
+# Copyright:: Copyright (C) 2011-2017
# MISHIMA, Hiroyuki
# <missy at be.to / hmishima at nagasaki-u.ac.jp>
# License:: The MIT license
#
@@ -27,21 +27,21 @@
class DBConnection < ActiveRecord::Base
include SafeAttributes
self.inheritance_column = 'dummy_not_to_use'
- @@db_adapter ||= 'mysql'
+ @@db_adapter ||= 'mysql2'
@@db_host ||= 'genome-mysql.cse.ucsc.edu'
@@db_username ||= 'genome'
@@db_password ||= ''
@@db_name ||= 'hg38'
cattr_accessor :db_adapter, :db_host, :db_username, :db_password
self.abstract_class = true
def self.default
- @@db_adapter = 'mysql'
+ @@db_adapter = 'mysql2'
@@db_host = 'genome-mysql.cse.ucsc.edu'
@@db_username = 'genome'
@@db_password = ''
end