|
|
@ -110,7 +110,7 @@ class InitializationDataController < ApplicationController
|
|
|
|
ActiveRecord::Base.establish_connection(
|
|
|
|
ActiveRecord::Base.establish_connection(
|
|
|
|
adapter: "mysql2",
|
|
|
|
adapter: "mysql2",
|
|
|
|
host: "rm-bp13v5020p7828r5r.mysql.rds.aliyuncs.com",
|
|
|
|
host: "rm-bp13v5020p7828r5r.mysql.rds.aliyuncs.com",
|
|
|
|
username: "preeducoderweb",
|
|
|
|
username: "testeducoder",
|
|
|
|
password: "TEST@123",
|
|
|
|
password: "TEST@123",
|
|
|
|
database: "#{database}",
|
|
|
|
database: "#{database}",
|
|
|
|
encoding: "utf8"
|
|
|
|
encoding: "utf8"
|
|
|
|