adding the userstamp plugin to the vendor plugins directory
[kwestie.git] / vendor / plugins / userstamp / test / connection.rb
blobf4d136f03e352a68a311bed4152dc39065de0941
1 print "Using native MySQL\n"\r
2 require 'logger'\r
3 \r
4 ActiveRecord::Base.logger = Logger.new("debug.log")\r
5 \r
6 db = 'userstamp_test'\r
7 \r
8 ActiveRecord::Base.establish_connection(\r
9   :adapter  => "mysql",\r
10   :host     => "localhost",\r
11   :username => "root",\r
12   :password => "",\r
13   :database => db,\r
14   :socket => "/var/run/mysqld/mysqld.sock"\r
15 )\r