20 lines
574 B
JavaScript
20 lines
574 B
JavaScript
|
module.exports = {
|
||
|
mysql:{
|
||
|
host: '192.168.8.106',
|
||
|
port: '3306',
|
||
|
user : 'root',
|
||
|
password: 'zhonglian405',
|
||
|
database: 'ssh',
|
||
|
connectionLimit: 10
|
||
|
},
|
||
|
options:{
|
||
|
clean: true, // true: 清除会话, false: 保留会话
|
||
|
connectTimeout: 4000, // 超时时间
|
||
|
// 认证信息
|
||
|
clientId: 'scratch1_123456',
|
||
|
username: 'scratch1_123456',
|
||
|
password: '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92'
|
||
|
},
|
||
|
port:1337,
|
||
|
mqttUrl:'ws://192.168.8.106:8083/mqtt'
|
||
|
}
|