From 9b86e8f24ee0c3c18cc56b106e78c7b87bd9291e Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Fri, 6 Jul 2012 18:24:25 +0800 Subject: [PATCH] fix mid site connection --- config/initializers/middle_site_connection.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/initializers/middle_site_connection.rb b/config/initializers/middle_site_connection.rb index 1b99224a..345ad464 100644 --- a/config/initializers/middle_site_connection.rb +++ b/config/initializers/middle_site_connection.rb @@ -6,10 +6,10 @@ $mid_site_connection module MiddleSiteConnection @mid_host = { - :host => '127.0.0.1', #mruling.nccu.edu.tw or 127.0.0.1 - :port => 8005, #3306 or 8005 - :username => "root", - :password => "a3G6yWd9", + :host => 'mruling.nccu.edu.tw', #mruling.nccu.edu.tw or 127.0.0.1 + :port => 3306, #3306 or 8005 + :username => "rulingcom", + :password => "5w3iJQ9OJQMGhJibKP6YQje8", :database => "RSS23_NCCU_MIDDLE", :encoding => "UTF8" }