#encoding: utf-8
require 'mysql2'
mid_host = {
:host => '127.0.0.1', #mruling.nccu.edu.tw
:port => 8005,
:username => "root",
:password => "a3G6yWd9",
:database => "RSS23_NCCU_MIDDLE",
:encoding => "UTF8"
}
MID_CLIENT = Mysql2::Client.new(mid_host)