Sha256: ffe92591f5aa1bb24c38c1827a45ff1451b0560d8113d233d16040d45cf89614

Contents?: true

Size: 253 Bytes

Versions: 42

Compression:

Stored size: 253 Bytes

Contents

require 'jdbc/mysql'

config = {
  :username => 'blog',
  :password => '',
  :adapter  => 'jdbc',
  :driver   => 'com.mysql.jdbc.Driver',
  :url      => 'jdbc:mysql://localhost:3306/weblog_development'
}

ActiveRecord::Base.establish_connection(config)

Version data entries

42 entries across 42 versions & 7 rubygems

Version Path
activerecord-jdbc-adapter-0.7 test/db/jdbc.rb
activerecord-jdbc-adapter-0.6 test/db/jdbc.rb