chore(config): Update production database connection settings
All checks were successful
continuous-integration/drone/push Build is passing

- Changed MySQL host from localhost to remote server IP
- Updated database name from 'mall' to 'automated_test'
- Modified database credentials for production environment
This commit is contained in:
lixin 2025-01-25 13:42:31 +08:00
parent 38553d6a6b
commit 2c36b71636

View File

@ -25,11 +25,11 @@ export default {
dataSource: { dataSource: {
default: { default: {
type: 'mysql', type: 'mysql',
host: '127.0.0.1', host: '120.48.5.80',
port: 3306, port: 3306,
username: 'root', username: 'root',
password: '123456', password: 'mysql_PjAFkh',
database: 'mall', database: 'automated_test',
// 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失 // 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
synchronize: false, synchronize: false,
// 打印日志 // 打印日志