更新 server.js

This commit is contained in:
IrisVega 2024-07-14 15:35:05 +08:00
parent 54b41e97d8
commit 5aaf2397f3
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ app.use(cors());
// 创建 MySQL 连接 // 创建 MySQL 连接
const db = mysql.createConnection({ const db = mysql.createConnection({
host: '172.17.0.1', host: '1Panel-mysql-dHBZ',
user: 'login_test', user: 'login_test',
password: 'tTiwnNbzMeLFxbLj', password: 'Guoswork105',
database: 'login_test' database: 'login_test'
}); });