Commit a3843dec by zhangxw

数据库修改

1 parent b1974c9e
......@@ -14,8 +14,8 @@ import { DB1_Table4Entity } from './db1/entities/table4.entity';
type: 'mysql',
host: '192.168.1.39',
port: 3306,
username: 'wechat_user',
password: 'b4WRTkl',
username: 'user_chenwq',
password: 'IxQstO23',
database: 'dj_smartcarlife',
entities: [DB1_Table1Entity, DB1_Table2Entity, DB1_Table4Entity],
synchronize: false,
......@@ -23,10 +23,10 @@ import { DB1_Table4Entity } from './db1/entities/table4.entity';
TypeOrmModule.forRoot({
name: 'db2', // 连接名称
type: 'mysql',
host: '192.168.1.39',
host: '192.168.3.227',
port: 3306,
username: 'wechat_user',
password: 'b4WRTkl',
username: 'os_user',
password: 'os#123',
database: 'scrm_clue',
entities: [DB2_Table3Entity],
synchronize: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!