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" }