Commit 0abf5b45 by sxy

fix : 统一 mysql数据连接

parent 0cdbfdbf
var settings = { var settings = {
redis: { redis: {
host: "192.168.4.119", host: "127.0.0.1",
port: 6379, port: 6379,
password: "Gongsibao2018", // password: "Gongsibao2018",
db: 9, db: 9,
}, },
database: { database: {
dbname: "center-manage", dbname: "center-manage",
user: "root", user: "write",
password: "123456", password: "write",
config: { config: {
host: '192.168.4.119', host: '43.247.184.35',
port: 3306, port: 8899,
dialect: 'mysql', dialect: 'mysql',
operatorsAliases: false, operatorsAliases: false,
pool: { pool: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment