Sha256: 3336c8556a6b0bd31238e9f7182c3f455f2fd72be5ebcd1055584a2725c3bce5

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

require 'test_helper'
require 'db/mysql_config'

require 'jdbc/mysql' # driver not loaded for plain JDBC
Jdbc::MySQL.load_driver

ActiveRecord::Base.establish_connection({
  :adapter => 'jdbc',
  :driver => 'com.mysql.jdbc.Driver',
  :url => "jdbc:mysql://#{MYSQL_CONFIG[:host]}/#{MYSQL_CONFIG[:database]}",
  :username => MYSQL_CONFIG[:username],
  :password => MYSQL_CONFIG[:password],
})

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-jdbc-adapter-1.3.0.beta2 test/db/jdbc_mysql.rb
activerecord-jdbc-adapter-1.3.0.beta1 test/db/jdbc_mysql.rb